pass extra args

llvm-svn: 23539
This commit is contained in:
Chris Lattner 2005-09-30 01:31:52 +00:00
parent 64ca7cda3f
commit f6d4173f75
1 changed files with 4 additions and 2 deletions

View File

@ -79,7 +79,8 @@ static unsigned getIdx(const TargetRegisterClass *RC) {
void void
PPC32RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB, PPC32RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI, MachineBasicBlock::iterator MI,
unsigned SrcReg, int FrameIdx) const { unsigned SrcReg, int FrameIdx,
const TargetRegisterClass *RC) const {
static const unsigned Opcode[] = { static const unsigned Opcode[] = {
PPC::STB, PPC::STH, PPC::STW, PPC::STFS, PPC::STFD PPC::STB, PPC::STH, PPC::STW, PPC::STFS, PPC::STFD
}; };
@ -99,7 +100,8 @@ PPC32RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
void void
PPC32RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, PPC32RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI, MachineBasicBlock::iterator MI,
unsigned DestReg, int FrameIdx) const { unsigned DestReg, int FrameIdx,
const TargetRegisterClass *RC) const {
static const unsigned Opcode[] = { static const unsigned Opcode[] = {
PPC::LBZ, PPC::LHZ, PPC::LWZ, PPC::LFS, PPC::LFD PPC::LBZ, PPC::LHZ, PPC::LWZ, PPC::LFS, PPC::LFD
}; };