[llvm-commits] CVS: llvm/lib/Target/IA64/IA64RegisterInfo.cpp IA64RegisterInfo.h
Jim Laskey
jlaskey at apple.com
Fri Apr 7 09:35:04 PDT 2006
Changes in directory llvm/lib/Target/IA64:
IA64RegisterInfo.cpp updated: 1.16 -> 1.17
IA64RegisterInfo.h updated: 1.6 -> 1.7
---
Log message:
Foundation for call frame information.
---
Diffs of the changes: (+7 -1)
IA64RegisterInfo.cpp | 7 ++++++-
IA64RegisterInfo.h | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64RegisterInfo.cpp
diff -u llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.16 llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.17
--- llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.16 Tue Mar 28 07:48:33 2006
+++ llvm/lib/Target/IA64/IA64RegisterInfo.cpp Fri Apr 7 11:34:45 2006
@@ -329,8 +329,13 @@
}
+unsigned IA64RegisterInfo::getRARegister() const {
+ assert(0 && "What is the return address register");
+ return 0;
+}
+
unsigned IA64RegisterInfo::getFrameRegister(MachineFunction &MF) const {
- return getDwarfRegNum(hasFP(MF) ? IA64::r5 : IA64::r12);
+ return hasFP(MF) ? IA64::r5 : IA64::r12;
}
#include "IA64GenRegisterInfo.inc"
Index: llvm/lib/Target/IA64/IA64RegisterInfo.h
diff -u llvm/lib/Target/IA64/IA64RegisterInfo.h:1.6 llvm/lib/Target/IA64/IA64RegisterInfo.h:1.7
--- llvm/lib/Target/IA64/IA64RegisterInfo.h:1.6 Tue Mar 28 07:48:33 2006
+++ llvm/lib/Target/IA64/IA64RegisterInfo.h Fri Apr 7 11:34:45 2006
@@ -50,6 +50,7 @@
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
// Debug information queries.
+ unsigned getRARegister() const;
unsigned getFrameRegister(MachineFunction &MF) const;
};
More information about the llvm-commits
mailing list