aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/LLVMContextImpl.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-01 23:56:42 +0000
committerDevang Patel <dpatel@apple.com>2009-09-01 23:56:42 +0000
commitbd93206d2cd5cfc5482b8b9d17a9d7e2862fe26b (patch)
tree684dd3ecd486dfc7fb8354db58e4a55e513cb39c /lib/VMCore/LLVMContextImpl.h
parent2a073840a9863f7fde14aba104621ce546f35510 (diff)
downloadexternal_llvm-bd93206d2cd5cfc5482b8b9d17a9d7e2862fe26b.zip
external_llvm-bd93206d2cd5cfc5482b8b9d17a9d7e2862fe26b.tar.gz
external_llvm-bd93206d2cd5cfc5482b8b9d17a9d7e2862fe26b.tar.bz2
For now disable MDNode uniquing. This fixes llvm-gcc bootstrap failure on certain Mac OS X 10.5. I am working on a proper fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.h')
-rw-r--r--lib/VMCore/LLVMContextImpl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h
index 2faf6ac..eeafeaf 100644
--- a/lib/VMCore/LLVMContextImpl.h
+++ b/lib/VMCore/LLVMContextImpl.h
@@ -108,10 +108,7 @@ public:
ValueMap<char, Type, ConstantAggregateZero> AggZeroConstants;
- typedef ValueMap<std::vector<Value*>, Type, MDNode, true /*largekey*/>
- MDNodeMapTy;
-
- MDNodeMapTy MDNodes;
+ SmallPtrSet<const MDNode *, 8> MDNodes;
typedef ValueMap<std::vector<Constant*>, ArrayType,
ConstantArray, true /*largekey*/> ArrayConstantsTy;