diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-01 23:56:42 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-01 23:56:42 +0000 |
commit | 8c7f86e6980c9b22963b82feb6efa75e392e70c4 (patch) | |
tree | b8fc6b8a0560c197157d1bdbffb4ce8876cfaf48 /llvm/lib/VMCore/LLVMContextImpl.h | |
parent | 2348e62498df2f0bea4370358af6c3d432d6d0b5 (diff) | |
download | bcm5719-llvm-8c7f86e6980c9b22963b82feb6efa75e392e70c4.tar.gz bcm5719-llvm-8c7f86e6980c9b22963b82feb6efa75e392e70c4.zip |
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.
llvm-svn: 80738
Diffstat (limited to 'llvm/lib/VMCore/LLVMContextImpl.h')
-rw-r--r-- | llvm/lib/VMCore/LLVMContextImpl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h index 2faf6ac6e38..eeafeafd9ee 100644 --- a/llvm/lib/VMCore/LLVMContextImpl.h +++ b/llvm/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; |