aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips16FrameLowering.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-09-18 18:08:25 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-09-18 18:08:25 +0000
commit37236515cfac7d60a9e1ee6f734618e6939db8c5 (patch)
tree285b6758e8d85d5550816a303a6b2368ae4bf6c3 /lib/Target/Mips/Mips16FrameLowering.cpp
parentf08c115e6c4b24b975ce376574f7daf6d5a92462 (diff)
Revert r164051.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16FrameLowering.cpp')
-rw-r--r--lib/Target/Mips/Mips16FrameLowering.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/Mips/Mips16FrameLowering.cpp b/lib/Target/Mips/Mips16FrameLowering.cpp
index a671df4bc1..030042f2e8 100644
--- a/lib/Target/Mips/Mips16FrameLowering.cpp
+++ b/lib/Target/Mips/Mips16FrameLowering.cpp
@@ -35,8 +35,6 @@ void Mips16FrameLowering::emitPrologue(MachineFunction &MF) const {
DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
uint64_t StackSize = MFI->getStackSize();
- StackSize += 16; // need to allocate space for RA. Clean this up later
- // when we fix the save/restore instruction. TBD..
// No need to allocate space on the stack.
if (StackSize == 0 && !MFI->adjustsStack()) return;
@@ -54,8 +52,6 @@ void Mips16FrameLowering::emitEpilogue(MachineFunction &MF,
DebugLoc dl = MBBI->getDebugLoc();
uint64_t StackSize = MFI->getStackSize();
- StackSize += 16; // need to allocate space for RA. Clean this up later
- // when we fix the save/restore instruction. TBD..
if (!StackSize)
return;