Eliminate the RegisterClass argument, since it can easily be derived from
authorChris Lattner <sabre@nondot.org>
Sun, 15 Aug 2004 21:55:29 +0000 (21:55 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Aug 2004 21:55:29 +0000 (21:55 +0000)
the regno

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15773 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MRegisterInfo.h

index 2ca22b00b6bedee91d6422f331b9abb086e1c596..dc2de003094fe7d62a1d096f4f63b8e0ab4b280f 100644 (file)
@@ -239,13 +239,11 @@ public:
 
   virtual int storeRegToStackSlot(MachineBasicBlock &MBB,
                                   MachineBasicBlock::iterator MI,
-                                  unsigned SrcReg, int FrameIndex,
-                                  const TargetRegisterClass *RC) const = 0;
+                                  unsigned SrcReg, int FrameIndex) const = 0;
 
   virtual int loadRegFromStackSlot(MachineBasicBlock &MBB,
                                    MachineBasicBlock::iterator MI,
-                                   unsigned DestReg, int FrameIndex,
-                                   const TargetRegisterClass *RC) const = 0;
+                                   unsigned DestReg, int FrameIndex) const = 0;
 
   virtual int copyRegToReg(MachineBasicBlock &MBB,
                            MachineBasicBlock::iterator MI,