mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Rename MDNodeSet as MDNodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78607 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aeb66fe54e
commit
6418a3ca85
@ -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…
Reference in New Issue
Block a user