mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +00:00
Rename MDNodeSet as MDNodes.
llvm-svn: 78607
This commit is contained in:
parent
2e2fe66e85
commit
7c51e1fb95
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user