Remove dead leak detector parts that fell out of use in r224703.
[oota-llvm.git] / lib / IR / LLVMContextImpl.cpp
index 880e1c1bcad249219d79d6870d58be92dc9c6e25..3370bdb0f8898f042538feb865e1f039c113dce4 100644 (file)
@@ -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(),