diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-11-25 02:26:22 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-11-25 02:26:22 +0000 |
commit | cb2818fa7630741e03beb352f1df773f238a40d8 (patch) | |
tree | d57be3581f7f1038b9d988b67d5d74d3e1ca841d /llvm/lib/IR/LLVMContextImpl.cpp | |
parent | 899b85a556e5493beea0ef0d914d5a454e6b1a81 (diff) | |
download | llvm-cb2818fa7630741e03beb352f1df773f238a40d8.zip llvm-cb2818fa7630741e03beb352f1df773f238a40d8.tar.gz llvm-cb2818fa7630741e03beb352f1df773f238a40d8.tar.bz2 |
Revert "unique_ptrify LLVMContextImpl::CAZConstants"
Missed the complexities of how these elements are destroyed.
This reverts commit r222714.
llvm-svn: 222715
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp index 1335b3d..3fd0bb3 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(); - CAZConstants.clear(); + DeleteContainerSeconds(CAZConstants); DeleteContainerSeconds(CPNConstants); DeleteContainerSeconds(UVConstants); InlineAsms.freeConstants(); |