commit | 16d42c6ac65e19aedfb4853724416cefda27134e | [log] [tgz] |
---|---|---|
author | Jim Laskey <jlaskey@mac.com> | Tue Jul 11 18:25:13 2006 +0000 |
committer | Jim Laskey <jlaskey@mac.com> | Tue Jul 11 18:25:13 2006 +0000 |
tree | 0469d28944cb2cb4cfaa09bc5cade67bdaa8c5b1 | |
parent | e37fe9b3a1cadceb42ac27fa0718f5a10ea2f0e6 [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 5282252..186b041 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -421,7 +421,9 @@ } 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: