summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreFrameLowering.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-04-29 00:16:42 +0000
committerEric Christopher <echristo@gmail.com>2014-04-29 00:16:42 +0000
commitdc1721b004aa1228b354a2c6edf64c760546b053 (patch)
treec0f0046794a2a58ebb7134e4ebcd2bf3cfaa75f9 /lib/Target/XCore/XCoreFrameLowering.cpp
parent3756feaadcc7d108eced11d9f1bbc6e2365bebcc (diff)
downloadllvm-dc1721b004aa1228b354a2c6edf64c760546b053.tar.gz
llvm-dc1721b004aa1228b354a2c6edf64c760546b053.tar.bz2
llvm-dc1721b004aa1228b354a2c6edf64c760546b053.tar.xz
80-column fixups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreFrameLowering.cpp')
-rw-r--r--lib/Target/XCore/XCoreFrameLowering.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Target/XCore/XCoreFrameLowering.cpp b/lib/Target/XCore/XCoreFrameLowering.cpp
index 5461a3f5cf..6a65a8cf12 100644
--- a/lib/Target/XCore/XCoreFrameLowering.cpp
+++ b/lib/Target/XCore/XCoreFrameLowering.cpp
@@ -113,7 +113,8 @@ static void IfNeededExtSP(MachineBasicBlock &MBB,
/// IfNeededLDAWSP emits the necessary LDAWSP instructions to move the SP only
/// as far as to make 'OffsetFromTop' reachable using an LDAWSP_lru6.
/// \param OffsetFromTop the spill offset from the top of the frame.
-/// \param [in,out] RemainingAdj the current SP offset from the top of the frame.
+/// \param [in,out] RemainingAdj the current SP offset from the top of the
+/// frame.
static void IfNeededLDAWSP(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MBBI, DebugLoc dl,
const TargetInstrInfo &TII, int OffsetFromTop,
@@ -346,7 +347,8 @@ void XCoreFrameLowering::emitEpilogue(MachineFunction &MF,
RemainingAdj /= 4;
if (RetOpcode == XCore::EH_RETURN) {
- // 'Restore' the exception info the unwinder has placed into the stack slots.
+ // 'Restore' the exception info the unwinder has placed into the stack
+ // slots.
SmallVector<StackSlotInfo,2> SpillList;
GetEHSpillList(SpillList, MFI, XFI, MF.getTarget().getTargetLowering());
RestoreSpillList(MBB, MBBI, dl, TII, RemainingAdj, SpillList);
@@ -514,7 +516,7 @@ eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
MBB.insert(I, New);
}
}
-
+
MBB.erase(I);
}