diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-12-09 16:14:46 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-12-09 16:14:46 +0000 |
commit | 2a4f0986ac2d43cd20b78df9e0aded0e67151770 (patch) | |
tree | a97476914e40aca0e5ce57152d92d6053fbd6c9c /lib/Target/ARM/ARMFrameInfo.cpp | |
parent | 8fdca6a8738c1ad7091137688ee48c9e623b75bb (diff) |
80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMFrameInfo.cpp')
-rw-r--r-- | lib/Target/ARM/ARMFrameInfo.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMFrameInfo.cpp b/lib/Target/ARM/ARMFrameInfo.cpp index 98e0188c3a..8361ccd068 100644 --- a/lib/Target/ARM/ARMFrameInfo.cpp +++ b/lib/Target/ARM/ARMFrameInfo.cpp @@ -458,7 +458,8 @@ ARMFrameInfo::ResolveFrameIndexReference(const MachineFunction &MF, if (hasFP(MF) && AFI->hasStackFrame()) { // Use frame pointer to reference fixed objects. Use it for locals if // there are VLAs (and thus the SP isn't reliable as a base). - if (isFixed || (MFI->hasVarSizedObjects() && !RegInfo->hasBasePointer(MF))) { + if (isFixed || (MFI->hasVarSizedObjects() && + !RegInfo->hasBasePointer(MF))) { FrameReg = RegInfo->getFrameRegister(MF); return FPOffset; } else if (MFI->hasVarSizedObjects()) { @@ -517,8 +518,9 @@ void ARMFrameInfo::emitPushInst(MachineBasicBlock &MBB, if (!(Func)(Reg, STI.isTargetDarwin())) continue; // Add the callee-saved register as live-in unless it's LR and - // @llvm.returnaddress is called. If LR is returned for @llvm.returnaddress - // then it's already added to the function and entry block live-in sets. + // @llvm.returnaddress is called. If LR is returned for + // @llvm.returnaddress then it's already added to the function and + // entry block live-in sets. bool isKill = true; if (Reg == ARM::LR) { if (MF.getFrameInfo()->isReturnAddressTaken() && |