Totally disable the setSubgraphColor calls temporarily, as they're
authorDan Gohman <gohman@apple.com>
Fri, 31 Oct 2008 16:12:56 +0000 (16:12 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 31 Oct 2008 16:12:56 +0000 (16:12 +0000)
currently troublesome even for #ifndef NDEBUG builds.

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

include/llvm/CodeGen/DAGISelHeader.h

index 43168f803f3ea79fd2d1e5a9cf80ff65aac190d8..ec7215218048d8824900eec5ea7400dedb963580 100644 (file)
@@ -180,7 +180,7 @@ void SelectRoot(SelectionDAG &DAG) {
     // Skip already selected nodes.
     if (isSelected(Node->getNodeId()))
       continue;
-#ifndef NDEBUG
+#if 0
     DAG.setSubgraphColor(Node, "red");
 #endif
     SDNode *ResNode = Select(SDValue(Node, 0));
@@ -190,7 +190,7 @@ void SelectRoot(SelectionDAG &DAG) {
       continue;
     // Replace node.
     if (ResNode) {
-#ifndef NDEBUG
+#if 0
       DAG.setSubgraphColor(ResNode, "yellow");
       DAG.setSubgraphColor(ResNode, "black");
 #endif