aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-03-27 16:44:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-03-27 16:44:48 +0000
commitc7baf687baf8ea26c6ee82ae1eff78f8efa38e80 (patch)
treea4b55efb8073e1e614d48a3c76c9067aacf69ef8 /lib
parent1baa1971a66d6a250d07b7bee249653bd91453a0 (diff)
Unbreaks non-debug builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35383 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 26468c760d..7a868d82a8 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.