[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp SparcV9RegisterInfo.h
Jim Laskey
jlaskey at apple.com
Tue Mar 28 05:48:50 PST 2006
Changes in directory llvm/lib/Target/SparcV9:
SparcV9RegisterInfo.cpp updated: 1.11 -> 1.12
SparcV9RegisterInfo.h updated: 1.10 -> 1.11
---
Log message:
Expose base register for DwarfWriter. Refactor code accordingly.
---
Diffs of the changes: (+5 -4)
SparcV9RegisterInfo.cpp | 4 ++--
SparcV9RegisterInfo.h | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.11 llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.12
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.11 Thu Mar 23 12:12:57 2006
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp Tue Mar 28 07:48:33 2006
@@ -318,7 +318,7 @@
}
-void SparcV9RegisterInfo::getLocation(MachineFunction &MF, unsigned Index,
- MachineLocation &ML) const {
+unsigned SparcV9RegisterInfo::getFrameRegister(MachineFunction &MF) const {
abort ();
+ return 0;
}
Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.10 llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.11
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.10 Thu Mar 23 12:12:57 2006
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h Tue Mar 28 07:48:33 2006
@@ -44,8 +44,9 @@
void eliminateFrameIndex (MachineBasicBlock::iterator MI) const;
void emitPrologue (MachineFunction &MF) const;
void emitEpilogue (MachineFunction &MF, MachineBasicBlock &MBB) const;
- void getLocation(MachineFunction &MF, unsigned Index,
- MachineLocation &ML) const;
+
+ // Debug information queries.
+ unsigned getFrameRegister(MachineFunction &MF) const;
};
} // End llvm namespace
More information about the llvm-commits
mailing list