summaryrefslogtreecommitdiff
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
commit3a29d2d3279d53b757c31b4cc72f0b3f7082d4c2 (patch)
tree684dd3ecd486dfc7fb8354db58e4a55e513cb39c /lib/VMCore/LLVMContextImpl.h
parent86f7cd786eecc74e0480c0f8ab6a4234bb72bfbb (diff)
downloadllvm-3a29d2d3279d53b757c31b4cc72f0b3f7082d4c2.tar.gz
llvm-3a29d2d3279d53b757c31b4cc72f0b3f7082d4c2.tar.bz2
llvm-3a29d2d3279d53b757c31b4cc72f0b3f7082d4c2.tar.xz
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 2faf6ac6e3..eeafeafd9e 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;