[llvm-branch-commits] [llvm-branch] r79582 - /llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86RegisterInfo.cpp
Bill Wendling
isanbard at gmail.com
Thu Aug 20 17:23:42 PDT 2009
Author: void
Date: Thu Aug 20 19:23:42 2009
New Revision: 79582
URL: http://llvm.org/viewvc/llvm-project?rev=79582&view=rev
Log:
Fix build. Shantonu pointed this out, but I didn't believe him before. :-(
Modified:
llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86RegisterInfo.cpp
Modified: llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86RegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86RegisterInfo.cpp?rev=79582&r1=79581&r2=79582&view=diff
==============================================================================
--- llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86RegisterInfo.cpp (original)
+++ llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86RegisterInfo.cpp Thu Aug 20 19:23:42 2009
@@ -749,7 +749,7 @@
// function, and use up to 128 bytes of stack space, don't have a frame
// pointer, calls, or dynamic alloca then we do not need to adjust the
// stack pointer (we fit in the Red Zone).
- if (Is64Bit && !Fn->hasFnAttr(Attribute::NoRedZone) &&
+ if (Is64Bit && !!DisableRedZone &&
!needsStackRealignment(MF) &&
!MFI->hasVarSizedObjects() && // No dynamic alloca.
!MFI->hasCalls()) { // No calls.
More information about the llvm-branch-commits
mailing list