From 6418a3ca850d8863cbdc0ec4df20a57364e7ffe7 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 10 Aug 2009 22:31:31 +0000 Subject: [PATCH] Rename MDNodeSet as MDNodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78607 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/LLVMContextImpl.h | 2 +- lib/VMCore/Metadata.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.