Rename MDNodeSet as MDNodes.

llvm-svn: 78607
This commit is contained in:
Devang Patel 2009-08-10 22:31:31 +00:00
parent 108b522912
commit 2c6c743039
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ struct LLVMContextImpl {
ValueMap<char, Type, ConstantAggregateZero> AggZeroConstants;
ValueMap<std::vector<Value*>, Type, MDNode> MDNodeSet;
ValueMap<std::vector<Value*>, Type, MDNode> MDNodes;
typedef ValueMap<std::vector<Constant*>, ArrayType,
ConstantArray, true /*largekey*/> ArrayConstantsTy;

View File

@ -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.