mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Remove unused functions getArgRegs and getNumArgRegs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152535 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -54,20 +54,6 @@ static inline bool isImmU16(unsigned val) {
|
||||
return val < (1 << 16);
|
||||
}
|
||||
|
||||
static const unsigned XCore_ArgRegs[] = {
|
||||
XCore::R0, XCore::R1, XCore::R2, XCore::R3
|
||||
};
|
||||
|
||||
const unsigned * XCoreRegisterInfo::getArgRegs(const MachineFunction *MF)
|
||||
{
|
||||
return XCore_ArgRegs;
|
||||
}
|
||||
|
||||
unsigned XCoreRegisterInfo::getNumArgRegs(const MachineFunction *MF)
|
||||
{
|
||||
return array_lengthof(XCore_ArgRegs);
|
||||
}
|
||||
|
||||
bool XCoreRegisterInfo::needsFrameMoves(const MachineFunction &MF) {
|
||||
return MF.getMMI().hasDebugInfo() ||
|
||||
MF.getFunction()->needsUnwindTableEntry();
|
||||
|
Reference in New Issue
Block a user