diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-15 21:55:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-15 21:55:29 +0000 |
commit | ed6655920fe65a0e627b0de198793104663ee11e (patch) | |
tree | f3bd79697eea801a25a9c6b200eb931fd70f8e7b | |
parent | 8c9b4de5744ea6c4ce8b79e8a55130df268761cd (diff) |
Eliminate the RegisterClass argument, since it can easily be derived from
the regno
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15773 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 2ca22b00b6..dc2de00309 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -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, |