mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Fix typo spotted by Gabor Greif.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89976 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc59311c5c
commit
dbee4b3be5
@ -218,7 +218,7 @@ public:
|
|||||||
/// addMD - Attach the metadata of given kind to an Instruction.
|
/// addMD - Attach the metadata of given kind to an Instruction.
|
||||||
void addMD(unsigned Kind, MDNode *Node, Instruction *Inst);
|
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);
|
void removeMD(unsigned Kind, Instruction *Inst);
|
||||||
|
|
||||||
/// removeAllMetadata - Remove all metadata attached with an instruction.
|
/// 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));
|
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) {
|
void MetadataContextImpl::removeMD(unsigned Kind, Instruction *Inst) {
|
||||||
MDStoreTy::iterator I = MetadataStore.find(Inst);
|
MDStoreTy::iterator I = MetadataStore.find(Inst);
|
||||||
if (I == MetadataStore.end())
|
if (I == MetadataStore.end())
|
||||||
@ -442,7 +442,7 @@ void MetadataContext::addMD(unsigned Kind, MDNode *Node, Instruction *Inst) {
|
|||||||
pImpl->addMD(Kind, Node, 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) {
|
void MetadataContext::removeMD(unsigned Kind, Instruction *Inst) {
|
||||||
pImpl->removeMD(Kind, Inst);
|
pImpl->removeMD(Kind, Inst);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user