summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit975f5c9f46e3e641c7e9d4ae286cfd21200d3dc3 (patch)
treedcaa90e65d7ecd99e16c9daf005b91603fd40d7e /llvm/lib/CodeGen
parente8f78d1aab058c0770a5303d64c8754eaa4a927f (diff)
downloadbcm5719-llvm-975f5c9f46e3e641c7e9d4ae286cfd21200d3dc3.tar.gz
bcm5719-llvm-975f5c9f46e3e641c7e9d4ae286cfd21200d3dc3.zip
It is NDEBUG not _NDEBUG
llvm-svn: 23186
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp4
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 2cea218117a..cf8d04e8a6a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/llvm/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
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index b587e3697db..4121e400bc4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -36,7 +36,7 @@
#include <iostream>
using namespace llvm;
-#ifndef _NDEBUG
+#ifndef NDEBUG
static cl::opt<bool>
ViewDAGs("view-isel-dags", cl::Hidden,
cl::desc("Pop up a window to show isel dags as they are selected"));
OpenPOWER on IntegriCloud