[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp SparcV9RegisterInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 15 15:15:20 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9RegisterInfo.cpp updated: 1.3 -> 1.4
SparcV9RegisterInfo.h updated: 1.5 -> 1.6
---
Log message:
Code insertion methods now return void instead of an int.
---
Diffs of the changes: (+6 -6)
Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.3 llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.4
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.3 Sun Aug 15 16:56:04 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp Sun Aug 15 17:15:09 2004
@@ -276,19 +276,19 @@
RegisterClasses + 5) {
}
-int SparcV9RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
+void SparcV9RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
unsigned SrcReg, int FrameIndex) const{
abort ();
}
-int SparcV9RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
+void SparcV9RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
unsigned DestReg, int FrameIndex) const {
abort ();
}
-int SparcV9RegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
+void SparcV9RegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
unsigned DestReg, unsigned SrcReg,
const TargetRegisterClass *RC) const {
Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.5 llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.6
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.5 Sun Aug 15 16:56:04 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h Sun Aug 15 17:15:09 2004
@@ -25,13 +25,13 @@
const unsigned *getCalleeSaveRegs() const;
// The rest of these are stubs... for now.
- int storeRegToStackSlot (MachineBasicBlock &MBB,
+ void storeRegToStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
unsigned SrcReg, int FrameIndex) const;
- int loadRegFromStackSlot (MachineBasicBlock &MBB,
+ void loadRegFromStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
unsigned DestReg, int FrameIndex) const;
- int copyRegToReg (MachineBasicBlock &MBB,
+ void copyRegToReg(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,
unsigned DestReg, unsigned SrcReg,
const TargetRegisterClass *RC) const;
More information about the llvm-commits
mailing list