diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-01-23 09:38:11 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-01-23 09:38:11 +0000 |
commit | 367372a30c36776e31958f0dc38306f32b80aa7c (patch) | |
tree | 79e5f97b48c73da206ac439af53ced76b447fe0b /lib/Target/Alpha/AlphaRegisterInfo.cpp | |
parent | c9708122836670953b7f7b3a86cc263b63fe3e3e (diff) |
PEI is now responsible for adding MaxCallFrameSize to frame size and align the stack. Each target can further adjust the frame size if necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaRegisterInfo.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaRegisterInfo.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp index 37d4deed55..bee76a2146 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/lib/Target/Alpha/AlphaRegisterInfo.cpp @@ -302,16 +302,6 @@ void AlphaRegisterInfo::emitPrologue(MachineFunction &MF) const { // Get the number of bytes to allocate from the FrameInfo long NumBytes = MFI->getStackSize(); - if (MFI->hasCalls() && !FP) { - // We reserve argument space for call sites in the function immediately on - // entry to the current function. This eliminates the need for add/sub - // brackets around call sites. - //If there is a frame pointer, then we don't do this - NumBytes += MFI->getMaxCallFrameSize(); - DOUT << "Added " << MFI->getMaxCallFrameSize() - << " to the stack due to calls\n"; - } - if (FP) NumBytes += 8; //reserve space for the old FP |