aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-05 02:52:05 +0000
committerChris Lattner <sabre@nondot.org>2002-02-05 02:52:05 +0000
commit296b7730e355a657df9fc5355c2cbe4985219903 (patch)
tree37432bff2a44226c1f71a625fef34e12062fea4f /lib/Target/SparcV9/SparcV9RegClassInfo.cpp
parent5e5dfa307a6999cef7cba6d1a594f880ab72c043 (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/SparcV9RegClassInfo.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9RegClassInfo.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
index 5e02aaf921..96ff39ef04 100644
--- a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
+++ b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
@@ -38,7 +38,7 @@ void SparcIntRegClass::colorIGNode(IGNode * Node, bool IsColorUsedArr[]) const {
if( DEBUG_RA ) {
cerr << "\nColoring LR [CallInt=" << LR->isCallInterference() <<"]:";
- LR->printSet();
+ printSet(*LR);
}
if( LR->hasSuggestedColor() ) {
@@ -64,7 +64,7 @@ void SparcIntRegClass::colorIGNode(IGNode * Node, bool IsColorUsedArr[]) const {
}
else if ( DEBUG_RA ) { // can't allocate the suggested col
cerr << " \n Could NOT allocate the suggested color (already used) ";
- LR->printSet(); cerr << "\n";
+ printSet(*LR); cerr << "\n";
}
}
@@ -185,10 +185,9 @@ void SparcFloatRegClass::colorIGNode(IGNode * Node,bool IsColorUsedArr[]) const
if( ! IsColorUsedArr[ LR->getSuggestedColor() ] ) {
LR->setColor( LR->getSuggestedColor() );
return;
- }
- else if (DEBUG_RA) { // can't allocate the suggested col
+ } else if (DEBUG_RA) { // can't allocate the suggested col
cerr << " Could NOT allocate the suggested color for LR ";
- LR->printSet(); cerr << "\n";
+ printSet(*LR); cerr << "\n";
}
}