aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-01 18:44:10 +0000
committerChris Lattner <sabre@nondot.org>2005-09-01 18:44:10 +0000
commitda8abb02397d7cd62a1e16e7c534edd7096ac873 (patch)
tree9649eb5e0a58add6d29e5513a84930629dfbb11b /lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
parent4942a9687dc6c3322dd135cab005c1dd7345df23 (diff)
It is NDEBUG not _NDEBUG
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAG.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 2cea218117..cf8d04e8a6 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -24,7 +24,7 @@
#include "llvm/Support/CommandLine.h"
using namespace llvm;
-#ifndef _NDEBUG
+#ifndef NDEBUG
static cl::opt<bool>
ViewDAGs("view-sched-dags", cl::Hidden,
cl::desc("Pop up a window to show sched dags as they are processed"));
@@ -103,7 +103,7 @@ unsigned SimpleSched::Emit(SDOperand Op) {
--NodeOperands;
unsigned NumMIOperands = NodeOperands+NumResults;
-#ifndef _NDEBUG
+#ifndef NDEBUG
assert((unsigned(II.numOperands) == NumMIOperands || II.numOperands == -1)&&
"#operands for dag node doesn't match .td file!");
#endif