OSDN Git Service

This code is apparently quite confused. In the meantime,
authorChris Lattner <sabre@nondot.org>
Thu, 4 Dec 2008 06:14:27 +0000 (06:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 4 Dec 2008 06:14:27 +0000 (06:14 +0000)
get it building when NDEBUG is set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60532 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CellSPU/SPUISelLowering.cpp

index f805648..a08ee87 100644 (file)
@@ -3065,12 +3065,13 @@ SPUTargetLowering::PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const
       // (SPUextract_elt0 <arg>)
       // Types must match, however...
 #if defined(NDEBUG)
-      if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) {
+    //  if (DebugFlag && isCurrentDebugType(DEBUG_TYPE)) {
         cerr << "\nReplace: ";
         N->dump(&DAG);
         cerr << "\nWith:    ";
         Op0.getNode()->dump(&DAG);
         cerr << "\n";
+      
 #endif
 
       return Op0;