Unbreaks non-debug builds.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 27 Mar 2007 16:44:48 +0000 (16:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 27 Mar 2007 16:44:48 +0000 (16:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35383 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InstructionCombining.cpp

index 26468c760d4a871c74a27aeb7ee4d6aef1c454ce..7a868d82a859e6f48d77091d380d3bbc8fee88a6 100644 (file)
@@ -9488,8 +9488,10 @@ bool InstCombiner::DoOneIteration(Function &F, unsigned Iteration) {
         // Erase the old instruction.
         InstParent->getInstList().erase(I);
       } else {
+#ifndef NDEBUG
         DOUT << "IC: Mod = " << OrigI
              << "    New = " << *I;
+#endif
 
         // If the instruction was modified, it's possible that it is now dead.
         // if so, remove it.