pass extra args
authorChris Lattner <sabre@nondot.org>
Fri, 30 Sep 2005 01:31:52 +0000 (01:31 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 30 Sep 2005 01:31:52 +0000 (01:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23539 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCRegisterInfo.cpp

index 9093381caef76ad302c27817761b6c0d8689b630..2e2318fe3637d76553a027eb040923ee740d7b50 100644 (file)
@@ -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
   };