[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 15 14:55:41 PDT 2004



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.45 -> 1.46
---
Log message:

Eliminate the RegisterClass argument, since it can easily be derived from
the regno


---
Diffs of the changes:  (+2 -4)

Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.45 llvm/include/llvm/Target/MRegisterInfo.h:1.46
--- llvm/include/llvm/Target/MRegisterInfo.h:1.45	Sat Aug 14 17:00:10 2004
+++ llvm/include/llvm/Target/MRegisterInfo.h	Sun Aug 15 16:55:29 2004
@@ -239,13 +239,11 @@
 
   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,






More information about the llvm-commits mailing list