diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-06-07 18:58:42 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-06-07 18:58:42 +0000 |
commit | 0f843821385213b33116eaecf0c13e987139f6a5 (patch) | |
tree | e0e0cd5bfaa86b57a0f28f9f7f54c36b5d4b3fb5 /lib/Target/Mips/MipsFrameLowering.cpp | |
parent | ffe9a7116cb4476e98f50377cdd58e7cc5c2e3c6 (diff) | |
download | llvm-0f843821385213b33116eaecf0c13e987139f6a5.tar.gz llvm-0f843821385213b33116eaecf0c13e987139f6a5.tar.bz2 llvm-0f843821385213b33116eaecf0c13e987139f6a5.tar.xz |
Coding style fixes.
- Fix indentation.
- Move comments.
- Fit lines in 80 columns.
- Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsFrameLowering.cpp')
-rw-r--r-- | lib/Target/Mips/MipsFrameLowering.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Target/Mips/MipsFrameLowering.cpp b/lib/Target/Mips/MipsFrameLowering.cpp index c1ceda7ab0..a0f90a0d48 100644 --- a/lib/Target/Mips/MipsFrameLowering.cpp +++ b/lib/Target/Mips/MipsFrameLowering.cpp @@ -195,15 +195,16 @@ void MipsFrameLowering::emitPrologue(MachineFunction &MF) const { SrcML = MachineLocation(MachineLocation::VirtualFP, -StackSize); Moves.push_back(MachineMove(AdjustSPLabel, DstML, SrcML)); - // Find the instruction past the last instruction that saves a callee-saved - // register to the stack. const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); if (CSI.size()) { + // Find the instruction past the last instruction that saves a callee-saved + // register to the stack. for (unsigned i = 0; i < CSI.size(); ++i) ++MBBI; - // Iterate over list of callee-saved registers and emit .cfi_offset directives. + // Iterate over list of callee-saved registers and emit .cfi_offset + // directives. MCSymbol *CSLabel = MMI.getContext().CreateTempSymbol(); BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::PROLOG_LABEL)).addSym(CSLabel); |