aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-11-26 23:19:05 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-11-26 23:19:05 +0000
commitdbee4b3be58303c92c12ed2e61e6e250bab02e95 (patch)
tree6474f44d4755d84899713f3d9c9436002bf900a8 /lib
parentdc59311c5c1fef7788f58096c6f417df2b5b72df (diff)
downloadexternal_llvm-dbee4b3be58303c92c12ed2e61e6e250bab02e95.zip
external_llvm-dbee4b3be58303c92c12ed2e61e6e250bab02e95.tar.gz
external_llvm-dbee4b3be58303c92c12ed2e61e6e250bab02e95.tar.bz2
Fix typo spotted by Gabor Greif.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Metadata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp
index 3e24eae..854f86c 100644
--- a/lib/VMCore/Metadata.cpp
+++ b/lib/VMCore/Metadata.cpp
@@ -218,7 +218,7 @@ public:
/// addMD - Attach the metadata of given kind to an Instruction.
void addMD(unsigned Kind, MDNode *Node, Instruction *Inst);
- /// removeMD - Remove metadata of given kind attached with an instuction.
+ /// removeMD - Remove metadata of given kind attached with an instruction.
void removeMD(unsigned Kind, Instruction *Inst);
/// removeAllMetadata - Remove all metadata attached with an instruction.
@@ -289,7 +289,7 @@ void MetadataContextImpl::addMD(unsigned MDKind, MDNode *Node,
Info.push_back(std::make_pair(MDKind, Node));
}
-/// removeMD - Remove metadata of given kind attached with an instuction.
+/// removeMD - Remove metadata of given kind attached with an instruction.
void MetadataContextImpl::removeMD(unsigned Kind, Instruction *Inst) {
MDStoreTy::iterator I = MetadataStore.find(Inst);
if (I == MetadataStore.end())
@@ -442,7 +442,7 @@ void MetadataContext::addMD(unsigned Kind, MDNode *Node, Instruction *Inst) {
pImpl->addMD(Kind, Node, Inst);
}
-/// removeMD - Remove metadata of given kind attached with an instuction.
+/// removeMD - Remove metadata of given kind attached with an instruction.
void MetadataContext::removeMD(unsigned Kind, Instruction *Inst) {
pImpl->removeMD(Kind, Inst);
}