diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-23 08:42:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-23 08:42:38 +0000 |
commit | 2a82d82936729b02fe1bbdcbfe764a61b8999be1 (patch) | |
tree | 747863478da8a0d7e7987f58bfa2876c2e5cd0cb /lib/VMCore/LLVMContextImpl.cpp | |
parent | cef39256986150d6e7d6d87ea36077452f045c50 (diff) | |
download | llvm-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.cpp | 2 |
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(); |