From 1aed35b2e55531f06c0022ad7b7f55a13a9eae88 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sat, 28 Sep 2002 16:56:59 +0000 Subject: [PATCH] Simplified code that handles call args and rets, so it no longer needs the RegClass list to be passed in. llvm-svn: 3964 --- include/llvm/Target/TargetRegInfo.h | 2 +- lib/Target/Sparc/SparcInternals.h | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h index 0a1a63bf9aa..712a9b7fb3a 100644 --- a/include/llvm/Target/TargetRegInfo.h +++ b/include/llvm/Target/TargetRegInfo.h @@ -122,7 +122,7 @@ public: LiveRangeInfo &LRI) const = 0; virtual void suggestRegs4CallArgs(MachineInstr *CallI, - LiveRangeInfo &LRI, std::vector RCL) const = 0; + LiveRangeInfo &LRI) const = 0; virtual void suggestReg4RetValue(MachineInstr *RetI, LiveRangeInfo &LRI) const = 0; diff --git a/lib/Target/Sparc/SparcInternals.h b/lib/Target/Sparc/SparcInternals.h index fc99ae45137..b21951d7f7b 100644 --- a/lib/Target/Sparc/SparcInternals.h +++ b/lib/Target/Sparc/SparcInternals.h @@ -277,8 +277,7 @@ class UltraSparcRegInfo : public MachineRegInfo { void suggestReg4RetAddr(MachineInstr *RetMI, LiveRangeInfo &LRI) const; - void suggestReg4CallAddr(MachineInstr *CallMI, LiveRangeInfo &LRI, - std::vector 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 RCL) const; + LiveRangeInfo& LRI) const; void suggestReg4RetValue(MachineInstr *RetMI, LiveRangeInfo& LRI) const;