changed since names of some methods in PhyRegAlloc changed
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Thu, 15 Nov 2001 20:25:07 +0000 (20:25 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Thu, 15 Nov 2001 20:25:07 +0000 (20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1324 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9RegInfo.cpp

index e59a3ab2b41025a7e97233e64ad52ea34198eccc..5103ae71bf2828c91ba47f22e22e8aae94cc6112 100644 (file)
@@ -707,7 +707,7 @@ void UltraSparcRegInfo::colorCallArgs(const MachineInstr *const CallMI,
        // fails, then use the following code. Currently, we cannot call the
        // above method since we cannot find LVSetBefore without the BB 
        
-       int TReg = PRA.getRegNotUsedByThisInst( LR->getRegClass(), CallMI );
+       int TReg = PRA.getUniRegNotUsedByThisInst( LR->getRegClass(), CallMI );
 
     /**** NOTE: THIS SHOULD USE THE RIGHT SIZE FOR THE REG BEING PUSHED ****/
        int TmpOff = PRA.mcInfo.pushTempValue(target, 8);
@@ -1194,7 +1194,7 @@ void UltraSparcRegInfo::insertCallerSavingCode(const MachineInstr *MInst,
 
              // get a free INTEGER register
              int FreeIntReg = 
-               PRA.getUsableRegAtMI(LR->getRegClass(), IntRegType, MInst, 
+               PRA.getUsableUniRegAtMI(LR->getRegClass(), IntRegType, MInst, 
                                     LVSetBef, AdIBefCC, AdIAftCC);
 
              // insert the instructions in reverse order since we are
@@ -1232,7 +1232,7 @@ void UltraSparcRegInfo::insertCallerSavingCode(const MachineInstr *MInst,
              
              // get a free INT register
              int FreeIntReg = 
-               PRA.getUsableRegAtMI(LR->getRegClass(), IntRegType, MInst, 
+               PRA.getUsableUniRegAtMI(LR->getRegClass(), IntRegType, MInst, 
                                     LVSetAft, AdIBefCC, AdIAftCC);
              
              if(AdIBefCC)