From bd93206d2cd5cfc5482b8b9d17a9d7e2862fe26b Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 1 Sep 2009 23:56:42 +0000 Subject: 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 --- lib/VMCore/LLVMContextImpl.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/VMCore/LLVMContextImpl.h') 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 AggZeroConstants; - typedef ValueMap, Type, MDNode, true /*largekey*/> - MDNodeMapTy; - - MDNodeMapTy MDNodes; + SmallPtrSet MDNodes; typedef ValueMap, ArrayType, ConstantArray, true /*largekey*/> ArrayConstantsTy; -- cgit v1.1