diff options
| author | Devang Patel <dpatel@apple.com> | 2009-08-10 22:31:31 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2009-08-10 22:31:31 +0000 |
| commit | 2c6c74303907fe7fc5568dea813bb1ac45bbedd6 (patch) | |
| tree | 4991e81efa96c0678bd5f321a2f65fd65a50390c | |
| parent | 108b5229121b66f5d294036a0bf02e32f04310b6 (diff) | |
| download | bcm5719-llvm-2c6c74303907fe7fc5568dea813bb1ac45bbedd6.tar.gz bcm5719-llvm-2c6c74303907fe7fc5568dea813bb1ac45bbedd6.zip | |
Rename MDNodeSet as MDNodes.
llvm-svn: 78607
| -rw-r--r-- | llvm/lib/VMCore/LLVMContextImpl.h | 2 | ||||
| -rw-r--r-- | llvm/lib/VMCore/Metadata.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h index 88489cbce93..fda56083b06 100644 --- a/llvm/lib/VMCore/LLVMContextImpl.h +++ b/llvm/lib/VMCore/LLVMContextImpl.h @@ -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; diff --git a/llvm/lib/VMCore/Metadata.cpp b/llvm/lib/VMCore/Metadata.cpp index 0bfab791b86..1680572ab93 100644 --- a/llvm/lib/VMCore/Metadata.cpp +++ b/llvm/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. |

