diff options
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp')
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp index a366c11710..c90ae4ae24 100644 --- a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp +++ b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp @@ -133,8 +133,8 @@ unsigned InterferenceGraph::getInterference(const LiveRange *const LR1, // LiveRangeInfo::unionAndUpdateLRs for that purpose. //---------------------------------------------------------------------------- -void InterferenceGraph::mergeIGNodesOfLRs(const LiveRange *const LR1, - LiveRange *const LR2 ) { +void InterferenceGraph::mergeIGNodesOfLRs(const LiveRange *LR1, + LiveRange *LR2) { assert( LR1 != LR2); // cannot merge the same live range @@ -145,8 +145,8 @@ void InterferenceGraph::mergeIGNodesOfLRs(const LiveRange *const LR1, assertIGNode( SrcNode ); if( DEBUG_RA > 1) { - cerr << "Merging LRs: \""; LR1->printSet(); - cerr << "\" and \""; LR2->printSet(); + cerr << "Merging LRs: \""; printSet(*LR1); + cerr << "\" and \""; printSet(*LR2); cerr << "\"\n"; } @@ -236,7 +236,7 @@ void InterferenceGraph::printIGNodeList() const if (Node) { cerr << " [" << Node->getIndex() << "] "; - Node->getParentLR()->printSet(); + printSet(*Node->getParentLR()); //int Deg = Node->getCurDegree(); cerr << "\t <# of Neighs: " << Node->getNumOfNeighbors() << ">\n"; } |