diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-18 18:08:25 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-18 18:08:25 +0000 |
commit | 40cf08dd082ac6139ab4d20bb373b96a51f287cd (patch) | |
tree | f373a1108ff734b27c042b329e0494d580e76940 /llvm/lib/Target/Mips/Mips16FrameLowering.cpp | |
parent | 69277bac232367da156aa87ee2b1c8dbb5cd8c64 (diff) | |
download | bcm5719-llvm-40cf08dd082ac6139ab4d20bb373b96a51f287cd.tar.gz bcm5719-llvm-40cf08dd082ac6139ab4d20bb373b96a51f287cd.zip |
Revert r164051.
llvm-svn: 164150
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16FrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/Mips16FrameLowering.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/Mips16FrameLowering.cpp b/llvm/lib/Target/Mips/Mips16FrameLowering.cpp index a671df4bc12..030042f2e83 100644 --- a/llvm/lib/Target/Mips/Mips16FrameLowering.cpp +++ b/llvm/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; |