From beb364051bd07ea3b75afd32ccf1fcd7719cda11 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 8 Jul 2002 22:39:36 +0000 Subject: [PATCH] getUsableUniRegAtMI interface simplified slightly. llvm-svn: 2822 --- llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h index 5df4381e3ee5..da4d2fd8ecdd 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -143,13 +143,14 @@ private: friend class UltraSparcRegInfo; - int getUsableUniRegAtMI(RegClass *RC, int RegType, - const MachineInstr *MInst, - const ValueSet *LVSetBef, MachineInstr *&MIBef, - MachineInstr *&MIAft ); - + int getUsableUniRegAtMI(int RegType, + const ValueSet *LVSetBef, + MachineInstr *MInst, + std::vector& MIBef, + std::vector& MIAft); + int getUnusedUniRegAtMI(RegClass *RC, const MachineInstr *MInst, - const ValueSet *LVSetBef); + const ValueSet *LVSetBef); void setRelRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst ); int getUniRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);