summaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsFrameLowering.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-11-14 18:56:20 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-11-14 18:56:20 +0000
commit47a4ab84fe2535e6d8d77456c08eb52de20caaee (patch)
tree8337f90de8a5fd84d0cacbee325bd9ee3d51064f /lib/Target/Mips/MipsFrameLowering.cpp
parentf054e198197122011fc80b673f35333bc3e58c98 (diff)
downloadexternal_llvm-47a4ab84fe2535e6d8d77456c08eb52de20caaee.zip
external_llvm-47a4ab84fe2535e6d8d77456c08eb52de20caaee.tar.gz
external_llvm-47a4ab84fe2535e6d8d77456c08eb52de20caaee.tar.bz2
Remove variable that keeps the size of area used to save byval or variable
argument registers on the callee's stack frame, along with functions that set and get it. It is not necessary to add the size of this area when computing stack size in emitPrologue, since it has already been accounted for in PEI::calculateFrameObjectOffsets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsFrameLowering.cpp')
-rw-r--r--lib/Target/Mips/MipsFrameLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsFrameLowering.cpp b/lib/Target/Mips/MipsFrameLowering.cpp
index 07de251..19bb1a5 100644
--- a/lib/Target/Mips/MipsFrameLowering.cpp
+++ b/lib/Target/Mips/MipsFrameLowering.cpp
@@ -163,7 +163,6 @@ void MipsFrameLowering::emitPrologue(MachineFunction &MF) const {
(MFI->getObjectOffset(MipsFI->getGPFI()) + RegSize) :
MipsFI->getMaxCallFrameSize();
unsigned StackSize = AlignOffset(LocalVarAreaOffset, StackAlign) +
- AlignOffset(MipsFI->getRegSaveAreaSize(), StackAlign) +
AlignOffset(MFI->getStackSize(), StackAlign);
// Update stack size