summaryrefslogtreecommitdiff
path: root/lib/VMCore/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-01-23 08:42:38 +0000
committerChris Lattner <sabre@nondot.org>2012-01-23 08:42:38 +0000
commit2a82d82936729b02fe1bbdcbfe764a61b8999be1 (patch)
tree747863478da8a0d7e7987f58bfa2876c2e5cd0cb /lib/VMCore/LLVMContextImpl.cpp
parentcef39256986150d6e7d6d87ea36077452f045c50 (diff)
downloadllvm-2a82d82936729b02fe1bbdcbfe764a61b8999be1.tar.gz
llvm-2a82d82936729b02fe1bbdcbfe764a61b8999be1.tar.bz2
llvm-2a82d82936729b02fe1bbdcbfe764a61b8999be1.tar.xz
Replace a use of ConstantUniqueMap for CAZ constants with a simple DenseMap.
Now that the type system rewrite has landed, there is no need for its complexity and std::map'ness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.cpp')
-rw-r--r--lib/VMCore/LLVMContextImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/LLVMContextImpl.cpp b/lib/VMCore/LLVMContextImpl.cpp
index b0dd680926..7ab3ccec62 100644
--- a/lib/VMCore/LLVMContextImpl.cpp
+++ b/lib/VMCore/LLVMContextImpl.cpp
@@ -70,7 +70,7 @@ LLVMContextImpl::~LLVMContextImpl() {
ArrayConstants.freeConstants();
StructConstants.freeConstants();
VectorConstants.freeConstants();
- AggZeroConstants.freeConstants();
+ CAZConstants.clear();
NullPtrConstants.freeConstants();
UndefValueConstants.freeConstants();
InlineAsms.freeConstants();