llvm.org GIT mirror llvm / 4c6d20a
add parenthesis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36514 91177308-0d34-0410-b5e6-96231b3b80d8 Lauro Ramos Venancio 13 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8484 const ARMSubtarget &sti)
8585 : ARMGenRegisterInfo(ARM::ADJCALLSTACKDOWN, ARM::ADJCALLSTACKUP),
8686 TII(tii), STI(sti),
87 FramePtr(STI.useThumbBacktraces() || STI.isThumb() ? ARM::R7 : ARM::R11) {
87 FramePtr((STI.useThumbBacktraces() || STI.isThumb()) ? ARM::R7 : ARM::R11) {
8888 }
8989
9090 bool ARMRegisterInfo::spillCalleeSavedRegisters(MachineBasicBlock &MBB,
14711471
14721472 unsigned ARMRegisterInfo::getFrameRegister(MachineFunction &MF) const {
14731473 if (STI.isTargetDarwin() || hasFP(MF))
1474 return STI.useThumbBacktraces() || STI.isThumb() ? ARM::R7 : ARM::R11;
1474 return (STI.useThumbBacktraces() || STI.isThumb()) ? ARM::R7 : ARM::R11;
14751475 else
14761476 return ARM::SP;
14771477 }