It is NDEBUG not _NDEBUG
authorChris Lattner <sabre@nondot.org>
Thu, 1 Sep 2005 18:44:10 +0000 (18:44 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 Sep 2005 18:44:10 +0000 (18:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23186 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 2cea218117ad6c8e8f214919472a6cce67792621..cf8d04e8a6ac79d6e8439fdd20e2c177efd0e045 100644 (file)
@@ -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
index b587e3697db5aef6b874a65bd9e1d7687ffa1ef6..4121e400bc4aaf953e259b57e4f4d599e41b06e5 100644 (file)
@@ -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"));