mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Foundation for call frame information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -200,8 +200,14 @@ void SparcRegisterInfo::emitEpilogue(MachineFunction &MF,
|
||||
BuildMI(MBB, MBBI, SP::RESTORErr, 2, SP::G0).addReg(SP::G0).addReg(SP::G0);
|
||||
}
|
||||
|
||||
unsigned SparcRegisterInfo::getRARegister() const {
|
||||
assert(0 && "What is the return address register");
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned SparcRegisterInfo::getFrameRegister(MachineFunction &MF) const {
|
||||
return getDwarfRegNum(SP::G1);
|
||||
assert(0 && "What is the frame register");
|
||||
return SP::G1;
|
||||
}
|
||||
|
||||
#include "SparcGenRegisterInfo.inc"
|
||||
|
||||
Reference in New Issue
Block a user