mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 01:12:53 +00:00
* ValueSet interface converted from add/remove to insert/erase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30adeb6d07
commit
d1b60fbe78
@ -302,7 +302,7 @@ void UltraSparcRegInfo::suggestReg4CallAddr(const MachineInstr * CallMI,
|
||||
// create a new LR for the return address and color it
|
||||
|
||||
LiveRange * RetAddrLR = new LiveRange();
|
||||
RetAddrLR->add( RetAddrVal );
|
||||
RetAddrLR->insert( RetAddrVal );
|
||||
unsigned RegClassID = getRegClassIDOfValue( RetAddrVal );
|
||||
RetAddrLR->setRegClass( RCList[RegClassID] );
|
||||
RetAddrLR->setColor(getUnifiedRegNum(IntRegClassID,SparcIntRegOrder::o7));
|
||||
@ -532,7 +532,7 @@ void UltraSparcRegInfo::suggestRegs4CallArgs(const MachineInstr *CallMI,
|
||||
|
||||
// create a new LR for the return value
|
||||
LiveRange *RetValLR = new LiveRange();
|
||||
RetValLR->add(RetVal);
|
||||
RetValLR->insert(RetVal);
|
||||
unsigned RegClassID = getRegClassIDOfValue(RetVal);
|
||||
RetValLR->setRegClass(RCList[RegClassID]);
|
||||
LRI.addLRToMap(RetVal, RetValLR);
|
||||
|
Loading…
Reference in New Issue
Block a user