mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
Minor formatting fix to ARMBaseRegisterInfo::getCalleeSavedRegs
llvm-svn: 185016
This commit is contained in:
parent
f1fc3829a8
commit
4ff0dbb615
@ -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