diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-05 02:52:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-05 02:52:05 +0000 |
commit | 296b7730e355a657df9fc5355c2cbe4985219903 (patch) | |
tree | 37432bff2a44226c1f71a625fef34e12062fea4f /lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp | |
parent | 5e5dfa307a6999cef7cba6d1a594f880ab72c043 (diff) |
* Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static
function in the one .cpp file that uses it. Use ValueSet's instead.
* Prepare to delete LiveVarSet.h & LiveVarSet.cpp
* Eliminate the ValueSet class, making all old member functions into global
templates that will eventually be moved to Support.
* Eliminate some irrelevant const's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1712 91177308-0d34-0410-b5e6-96231b3b80d8
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"; } |