From: Chris Lattner Date: Thu, 1 Sep 2005 18:44:10 +0000 (+0000) Subject: It is NDEBUG not _NDEBUG X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=da8abb02397d7cd62a1e16e7c534edd7096ac873;p=oota-llvm.git It is NDEBUG not _NDEBUG git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23186 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 2cea218117a..cf8d04e8a6a 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 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/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index b587e3697db..4121e400bc4 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -36,7 +36,7 @@ #include using namespace llvm; -#ifndef _NDEBUG +#ifndef NDEBUG static cl::opt ViewDAGs("view-isel-dags", cl::Hidden, cl::desc("Pop up a window to show isel dags as they are selected"));