diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-10 18:16:08 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-10 18:16:08 +0000 |
commit | 72e6d32e363964712bf14b8e4374f587ac9103f5 (patch) | |
tree | f959eda6f313fbd8b5a067a450034e22213b1b3a /lib/VMCore/LLVMContextImpl.h | |
parent | 7f1ac7fb49bc11464120fc29541c3efef52eed96 (diff) | |
download | external_llvm-72e6d32e363964712bf14b8e4374f587ac9103f5.zip external_llvm-72e6d32e363964712bf14b8e4374f587ac9103f5.tar.gz external_llvm-72e6d32e363964712bf14b8e4374f587ac9103f5.tar.bz2 |
Change the MDNode uniquing to a ValueMap, at Devang's request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.h')
-rw-r--r-- | lib/VMCore/LLVMContextImpl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h index 966f54b..88489cb 100644 --- a/lib/VMCore/LLVMContextImpl.h +++ b/lib/VMCore/LLVMContextImpl.h @@ -103,9 +103,9 @@ struct LLVMContextImpl { StringMap<MDString*> MDStringCache; - FoldingSet<MDNode> MDNodeSet; - ValueMap<char, Type, ConstantAggregateZero> AggZeroConstants; + + ValueMap<std::vector<Value*>, Type, MDNode> MDNodeSet; typedef ValueMap<std::vector<Constant*>, ArrayType, ConstantArray, true /*largekey*/> ArrayConstantsTy; |