diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-30 01:31:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-30 01:31:52 +0000 |
commit | b48d2cf5eb4a2576314490e43bef0ac0d87732b2 (patch) | |
tree | e93beeda8efae5aa2dca5216997298fa5100801c /lib/Target/PowerPC/PPCRegisterInfo.cpp | |
parent | 0ffb1a56ff8439604556afd09ee0774655d7197c (diff) |
pass extra args
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCRegisterInfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp index 9093381cae..2e2318fe36 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.cpp +++ b/lib/Target/PowerPC/PPCRegisterInfo.cpp @@ -79,7 +79,8 @@ static unsigned getIdx(const TargetRegisterClass *RC) { void PPC32RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, - unsigned SrcReg, int FrameIdx) const { + unsigned SrcReg, int FrameIdx, + const TargetRegisterClass *RC) const { static const unsigned Opcode[] = { PPC::STB, PPC::STH, PPC::STW, PPC::STFS, PPC::STFD }; @@ -99,7 +100,8 @@ PPC32RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB, void PPC32RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, - unsigned DestReg, int FrameIdx) const { + unsigned DestReg, int FrameIdx, + const TargetRegisterClass *RC) const { static const unsigned Opcode[] = { PPC::LBZ, PPC::LHZ, PPC::LWZ, PPC::LFS, PPC::LFD }; |