From: Chris Lattner Date: Mon, 4 Feb 2002 16:37:09 +0000 (+0000) Subject: * ValueSet interface converted from add/remove to insert/erase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d1b60fbe7890a3f66b3bb87372527a50fac0da68;p=oota-llvm.git * 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 --- diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index a5281195602..f35af9e573a 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -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);