summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Metadata.cpp
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
commita75fe185ba5dc9115083b6f0151068690f5bab5c (patch)
treeb1dfa55343115237d337f0f74cf1a4481531f83d /llvm/lib/VMCore/Metadata.cpp
parentc49f5ac7d8f134f009cd4ff1fa7aec8b3c94d578 (diff)
downloadbcm5719-llvm-a75fe185ba5dc9115083b6f0151068690f5bab5c.tar.gz
bcm5719-llvm-a75fe185ba5dc9115083b6f0151068690f5bab5c.zip
Fix typo spotted by Gabor Greif.
llvm-svn: 89976
Diffstat (limited to 'llvm/lib/VMCore/Metadata.cpp')
-rw-r--r--llvm/lib/VMCore/Metadata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/Metadata.cpp b/llvm/lib/VMCore/Metadata.cpp
index 3e24eaed60c..854f86cecf9 100644
--- a/llvm/lib/VMCore/Metadata.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud