aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-07-11 18:25:13 +0000
committerJim Laskey <jlaskey@mac.com>2006-07-11 18:25:13 +0000
commit16d42c6ac65e19aedfb4853724416cefda27134e (patch)
tree0469d28944cb2cb4cfaa09bc5cade67bdaa8c5b1 /lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
parente37fe9b3a1cadceb42ac27fa0718f5a10ea2f0e6 (diff)
It was pointed out that DEBUG() is only available with -debug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAG.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAG.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 528225223d..186b041b58 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -421,7 +421,9 @@ void ScheduleDAG::EmitNode(SDNode *Node,
} else {
switch (Node->getOpcode()) {
default:
- DEBUG(Node->dump());
+#ifndef NDEBUG
+ Node->dump();
+#endif
assert(0 && "This target-independent node should have been selected!");
case ISD::EntryToken: // fall thru
case ISD::TokenFactor: