summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-25 02:13:54 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-25 02:13:54 +0000
commit899b85a556e5493beea0ef0d914d5a454e6b1a81 (patch)
treed176ca66699720a20df571dd3a1cc2639b9dab8e /llvm/lib/IR/LLVMContextImpl.cpp
parent59016765817633ba125e2c014fd4c6c5de461fa9 (diff)
downloadbcm5719-llvm-899b85a556e5493beea0ef0d914d5a454e6b1a81.tar.gz
bcm5719-llvm-899b85a556e5493beea0ef0d914d5a454e6b1a81.zip
unique_ptrify LLVMContextImpl::CAZConstants
llvm-svn: 222714
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp
index 3fd0bb37a4d..1335b3d33b8 100644
--- a/llvm/lib/IR/LLVMContextImpl.cpp
+++ b/llvm/lib/IR/LLVMContextImpl.cpp
@@ -87,7 +87,7 @@ LLVMContextImpl::~LLVMContextImpl() {
ArrayConstants.freeConstants();
StructConstants.freeConstants();
VectorConstants.freeConstants();
- DeleteContainerSeconds(CAZConstants);
+ CAZConstants.clear();
DeleteContainerSeconds(CPNConstants);
DeleteContainerSeconds(UVConstants);
InlineAsms.freeConstants();
OpenPOWER on IntegriCloud