mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Minor formatting fix to ARMBaseRegisterInfo::getCalleeSavedRegs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a231f5a1e
commit
8b9962d514
@ -58,13 +58,11 @@ ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
|
||||
ghcCall = (F ? F->getCallingConv() == CallingConv::GHC : false);
|
||||
}
|
||||
|
||||
if (ghcCall) {
|
||||
return CSR_GHC_SaveList;
|
||||
}
|
||||
else {
|
||||
return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
|
||||
? CSR_iOS_SaveList : CSR_AAPCS_SaveList;
|
||||
}
|
||||
if (ghcCall)
|
||||
return CSR_GHC_SaveList;
|
||||
else
|
||||
return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
|
||||
? CSR_iOS_SaveList : CSR_AAPCS_SaveList;
|
||||
}
|
||||
|
||||
const uint32_t*
|
||||
|
Loading…
x
Reference in New Issue
Block a user