1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Simplified code that handles call args and rets, so it no longer

needs the RegClass list to be passed in.

llvm-svn: 3964
This commit is contained in:
Vikram S. Adve 2002-09-28 16:56:59 +00:00
parent 33b21ec523
commit 1aed35b2e5
2 changed files with 3 additions and 5 deletions

View File

@ -122,7 +122,7 @@ public:
LiveRangeInfo &LRI) const = 0;
virtual void suggestRegs4CallArgs(MachineInstr *CallI,
LiveRangeInfo &LRI, std::vector<RegClass *> RCL) const = 0;
LiveRangeInfo &LRI) const = 0;
virtual void suggestReg4RetValue(MachineInstr *RetI,
LiveRangeInfo &LRI) const = 0;

View File

@ -277,8 +277,7 @@ class UltraSparcRegInfo : public MachineRegInfo {
void suggestReg4RetAddr(MachineInstr *RetMI,
LiveRangeInfo &LRI) const;
void suggestReg4CallAddr(MachineInstr *CallMI, LiveRangeInfo &LRI,
std::vector<RegClass *> RCList) const;
void suggestReg4CallAddr(MachineInstr *CallMI, LiveRangeInfo &LRI) const;
void InitializeOutgoingArg(MachineInstr* CallMI, AddedInstrns *CallAI,
PhyRegAlloc &PRA, LiveRange* LR,
@ -384,8 +383,7 @@ public:
LiveRangeInfo& LRI) const;
void suggestRegs4CallArgs(MachineInstr *CallMI,
LiveRangeInfo& LRI,
std::vector<RegClass *> RCL) const;
LiveRangeInfo& LRI) const;
void suggestReg4RetValue(MachineInstr *RetMI,
LiveRangeInfo& LRI) const;