diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h index 88489cbce93..fda56083b06 100644 --- a/lib/VMCore/LLVMContextImpl.h +++ b/lib/VMCore/LLVMContextImpl.h @@ -105,7 +105,7 @@ struct LLVMContextImpl { ValueMap AggZeroConstants; - ValueMap, Type, MDNode> MDNodeSet; + ValueMap, Type, MDNode> MDNodes; typedef ValueMap, ArrayType, ConstantArray, true /*largekey*/> ArrayConstantsTy; diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp index 0bfab791b86..1680572ab93 100644 --- a/lib/VMCore/Metadata.cpp +++ b/lib/VMCore/Metadata.cpp @@ -83,7 +83,7 @@ MDNode *MDNode::get(LLVMContext &Context, Value*const* Vals, unsigned NumVals) { for (unsigned i = 0; i < NumVals; ++i) V.push_back(Vals[i]); - return pImpl->MDNodeSet.getOrCreate(Type::MetadataTy, V); + return pImpl->MDNodes.getOrCreate(Type::MetadataTy, V); } /// dropAllReferences - Remove all uses and clear node vector.