s/class Metadata/class MetadataContext/g

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83019 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-09-28 21:41:20 +00:00
parent a2148402ce
commit e30e678865
12 changed files with 38 additions and 38 deletions

View File

@ -1038,7 +1038,7 @@ bool LLParser::ParseOptionalDbgInfo() {
MetadataBase *Node;
if (ParseMDNode(Node)) return true;
Metadata &TheMetadata = M->getContext().getMetadata();
MetadataContext &TheMetadata = M->getContext().getMetadata();
unsigned MDDbgKind = TheMetadata.getMDKind("dbg");
if (!MDDbgKind)
MDDbgKind = TheMetadata.RegisterMDKind("dbg");
@ -2656,7 +2656,7 @@ bool LLParser::ParseBasicBlock(PerFunctionState &PFS) {
ParseOptionalDbgInfo();
// Set metadata attached with this instruction.
Metadata &TheMetadata = M->getContext().getMetadata();
MetadataContext &TheMetadata = M->getContext().getMetadata();
for (SmallVector<std::pair<unsigned, MDNode *>, 2>::iterator
MDI = MDsOnInst.begin(), MDE = MDsOnInst.end(); MDI != MDE; ++MDI)
TheMetadata.setMD(MDI->first, MDI->second, Inst);