Only emit message if DEBUG_RA is on

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-04-15 20:36:15 +00:00
parent 8d70cd9607
commit 167b9629e1
2 changed files with 12 additions and 12 deletions

View File

@@ -72,7 +72,6 @@ void RegClass::pushAllIGNodes()
// Repeat this. // Repeat this.
do { do {
//get node with min spill cost //get node with min spill cost
// //
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost(); IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
@@ -89,6 +88,7 @@ void RegClass::pushAllIGNodes()
// //
NeedMoreSpills = !pushUnconstrainedIGNodes(); NeedMoreSpills = !pushUnconstrainedIGNodes();
if (DEBUG_RA)
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex(); cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
} while(NeedMoreSpills); // repeat until we have pushed all } while(NeedMoreSpills); // repeat until we have pushed all

View File

@@ -72,7 +72,6 @@ void RegClass::pushAllIGNodes()
// Repeat this. // Repeat this.
do { do {
//get node with min spill cost //get node with min spill cost
// //
IGNode *IGNodeSpill = getIGNodeWithMinSpillCost(); IGNode *IGNodeSpill = getIGNodeWithMinSpillCost();
@@ -89,6 +88,7 @@ void RegClass::pushAllIGNodes()
// //
NeedMoreSpills = !pushUnconstrainedIGNodes(); NeedMoreSpills = !pushUnconstrainedIGNodes();
if (DEBUG_RA)
cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex(); cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
} while(NeedMoreSpills); // repeat until we have pushed all } while(NeedMoreSpills); // repeat until we have pushed all