diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-08-19 14:59:02 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-08-19 14:59:02 +0000 |
commit | e4b91dca91ab34958bd3109a7ef2ac528769a283 (patch) | |
tree | 85732e874d49606481d843e66c584573cf19cf9a /llvm/lib/IR/LLVMContextImpl.cpp | |
parent | e8337304f339319ebc5bde83826f6b31a93c3ec6 (diff) | |
download | bcm5719-llvm-e4b91dca91ab34958bd3109a7ef2ac528769a283.tar.gz bcm5719-llvm-e4b91dca91ab34958bd3109a7ef2ac528769a283.zip |
Reverting r215966, r215965, r215964, r215963, r215960, r215959, r215958, and r215957 (these commits all rely on previous commits) due to build breakage. These commits cause failed assertions when testing Clang using MSVC 2013. The asserts are triggered from the std::equal call within ArrayRef::equals due to being passed invalid input (ArrayRef.begin() is returning a nullptr which is problematic).
llvm-svn: 215981
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 6513965ae7a..4c2791f0a8d 100644 --- a/llvm/lib/IR/LLVMContextImpl.cpp +++ b/llvm/lib/IR/LLVMContextImpl.cpp @@ -75,7 +75,7 @@ LLVMContextImpl::~LLVMContextImpl() { // Free the constants. This is important to do here to ensure that they are // freed before the LeakDetector is torn down. std::for_each(ExprConstants.map_begin(), ExprConstants.map_end(), - DropFirst()); + DropReferences()); std::for_each(ArrayConstants.map_begin(), ArrayConstants.map_end(), DropFirst()); std::for_each(StructConstants.map_begin(), StructConstants.map_end(), |