[llvm-commits] [llvm] r143993 - /llvm/trunk/lib/Target/Mips/MipsFrameLowering.cpp

Akira Hatanaka ahatanaka at mips.com
Mon Nov 7 11:07:35 PST 2011


Author: ahatanak
Date: Mon Nov  7 13:07:35 2011
New Revision: 143993

URL: http://llvm.org/viewvc/llvm-project?rev=143993&view=rev
Log:
Include RegSaveAreaSize in the computation of stack size.


Modified:
    llvm/trunk/lib/Target/Mips/MipsFrameLowering.cpp

Modified: llvm/trunk/lib/Target/Mips/MipsFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsFrameLowering.cpp?rev=143993&r1=143992&r2=143993&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsFrameLowering.cpp Mon Nov  7 13:07:35 2011
@@ -157,6 +157,7 @@
     (MFI->getObjectOffset(MipsFI->getGPFI()) + RegSize) :
     MipsFI->getMaxCallFrameSize();
   unsigned StackSize = AlignOffset(LocalVarAreaOffset, StackAlign) +
+    AlignOffset(MipsFI->getRegSaveAreaSize(), StackAlign) +
     AlignOffset(MFI->getStackSize(), StackAlign);
 
    // Update stack size





More information about the llvm-commits mailing list