[llvm-commits] CVS: llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp SkeletonRegisterInfo.h

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



Changes in directory llvm/lib/Target/Skeleton:

SkeletonRegisterInfo.cpp updated: 1.2 -> 1.3
SkeletonRegisterInfo.h updated: 1.2 -> 1.3
---
Log message:

These methods no longer take a TargetRegisterClass* operand.


---
Diffs of the changes:  (+8 -12)

Index: llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp
diff -u llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp:1.2 llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp:1.3
--- llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp:1.2	Sat Aug 14 17:01:38 2004
+++ llvm/lib/Target/Skeleton/SkeletonRegisterInfo.cpp	Sun Aug 15 16:56:30 2004
@@ -20,18 +20,16 @@
   : SkeletonGenRegisterInfo(Skeleton::ADJCALLSTACKDOWN,
                            Skeleton::ADJCALLSTACKUP) {}
 
-int SkeletonRegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
-                                              MachineBasicBlock::iterator MBBI,
-                                              unsigned SrcReg, int FrameIdx,
-                                          const TargetRegisterClass *RC) const {
+int SkeletonRegisterInfo::
+storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
+                    unsigned SrcReg, int FrameIdx) const {
   abort();
   return -1;
 }
 
-int SkeletonRegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
-                                               MachineBasicBlock::iterator MBBI,
-                                               unsigned DestReg, int FrameIdx,
-                                          const TargetRegisterClass *RC) const {
+int SkeletonRegisterInfo::
+loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
+                     unsigned DestReg, int FrameIdx) const {
   abort();
   return -1;
 }


Index: llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h
diff -u llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h:1.2 llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h:1.3
--- llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h:1.2	Sat Aug 14 17:01:38 2004
+++ llvm/lib/Target/Skeleton/SkeletonRegisterInfo.h	Sun Aug 15 16:56:30 2004
@@ -27,13 +27,11 @@
     // See MRegisterInfo.h for information on these methods.
     int storeRegToStackSlot(MachineBasicBlock &MBB,
                             MachineBasicBlock::iterator MBBI,
-                            unsigned SrcReg, int FrameIndex,
-                            const TargetRegisterClass *RC) const;
+                            unsigned SrcReg, int FrameIndex) const;
     
     int loadRegFromStackSlot(MachineBasicBlock &MBB,
                              MachineBasicBlock::iterator MBBI,
-                             unsigned DestReg, int FrameIndex,
-                             const TargetRegisterClass *RC) const;
+                             unsigned DestReg, int FrameIndex) const;
     
     int copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
                      unsigned DestReg, unsigned SrcReg,






More information about the llvm-commits mailing list