diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h --- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h +++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h @@ -43,7 +43,7 @@ /// isARMArea1Register - Returns true if the register is a low register (r0-r7) /// or a stack/pc register that we should push/pop. -static inline bool isARMArea1Register(unsigned Reg, bool isIOS) { +static inline bool isARMArea1Register(unsigned Reg, bool SplitFramePushPop) { using namespace ARM; switch (Reg) { @@ -53,25 +53,25 @@ return true; case R8: case R9: case R10: case R11: case R12: // For iOS we want r7 and lr to be next to each other. - return !isIOS; + return !SplitFramePushPop; default: return false; } } -static inline bool isARMArea2Register(unsigned Reg, bool isIOS) { +static inline bool isARMArea2Register(unsigned Reg, bool SplitFramePushPop) { using namespace ARM; switch (Reg) { case R8: case R9: case R10: case R11: case R12: // iOS has this second area. - return isIOS; + return SplitFramePushPop; default: return false; } } -static inline bool isARMArea3Register(unsigned Reg, bool isIOS) { +static inline bool isARMArea3Register(unsigned Reg, bool SplitFramePushPop) { using namespace ARM; switch (Reg) {