From cb36becbeb84826dcfff19243051d97c71d57211 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 22 Jan 2015 21:43:01 +0000 Subject: Remove dead leak detector parts that fell out of use in r224703. llvm-svn: 226867 --- llvm/lib/IR/LLVMContextImpl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/IR/LLVMContextImpl.cpp') diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp index 880e1c1..3370bdb 100644 --- a/llvm/lib/IR/LLVMContextImpl.cpp +++ b/llvm/lib/IR/LLVMContextImpl.cpp @@ -97,8 +97,7 @@ LLVMContextImpl::~LLVMContextImpl() { delete I; #include "llvm/IR/Metadata.def" - // Free the constants. This is important to do here to ensure that they are - // freed before the LeakDetector is torn down. + // Free the constants. std::for_each(ExprConstants.map_begin(), ExprConstants.map_end(), DropFirst()); std::for_each(ArrayConstants.map_begin(), ArrayConstants.map_end(), -- cgit v1.1