For PR1207:
[oota-llvm.git] / lib / Target / Alpha / AlphaRegisterInfo.cpp
index 37d4deed55faf179f9e2fb0122ceb0e130d0ab49..bee76a2146b0f9ce4f2865017a00659e3155588c 100644 (file)
@@ -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