mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 23:33:57 +00:00
Clean up hack which is no longer needed after r198617. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ebf060c26f
commit
4faaca1836
@ -51,7 +51,7 @@ ARMBaseRegisterInfo::ARMBaseRegisterInfo(const ARMSubtarget &sti)
|
||||
|
||||
const uint16_t*
|
||||
ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
|
||||
const uint16_t *RegList = (STI.isTargetIOS() && !STI.isAAPCS_ABI())
|
||||
const uint16_t *RegList = STI.isTargetIOS()
|
||||
? CSR_iOS_SaveList
|
||||
: CSR_AAPCS_SaveList;
|
||||
|
||||
@ -86,8 +86,7 @@ ARMBaseRegisterInfo::getCallPreservedMask(CallingConv::ID CC) const {
|
||||
if (CC == CallingConv::GHC)
|
||||
// This is academic becase all GHC calls are (supposed to be) tail calls
|
||||
return CSR_NoRegs_RegMask;
|
||||
return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
|
||||
? CSR_iOS_RegMask : CSR_AAPCS_RegMask;
|
||||
return STI.isTargetIOS() ? CSR_iOS_RegMask : CSR_AAPCS_RegMask;
|
||||
}
|
||||
|
||||
const uint32_t*
|
||||
|
Loading…
x
Reference in New Issue
Block a user