From: Akira Hatanaka Date: Mon, 7 Nov 2011 19:07:35 +0000 (+0000) Subject: Include RegSaveAreaSize in the computation of stack size. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f83ba3293fb6a3ef84483b5513e2e28af15e1222;p=oota-llvm.git Include RegSaveAreaSize in the computation of stack size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143993 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsFrameLowering.cpp b/lib/Target/Mips/MipsFrameLowering.cpp index 22d1e47b1a2..71f3116e1f2 100644 --- a/lib/Target/Mips/MipsFrameLowering.cpp +++ b/lib/Target/Mips/MipsFrameLowering.cpp @@ -157,6 +157,7 @@ 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