From: Evan Cheng Date: Tue, 27 Mar 2007 16:44:48 +0000 (+0000) Subject: Unbreaks non-debug builds. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c7baf687baf8ea26c6ee82ae1eff78f8efa38e80;p=oota-llvm.git Unbreaks non-debug builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35383 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 26468c760d4..7a868d82a85 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -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.