diff options
| author | Bill Wendling <isanbard@gmail.com> | 2010-05-14 21:38:44 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2010-05-14 21:38:44 +0000 |
| commit | e9ac7ad68c3cf1d7d5ef6d3e1e4fb9809da8c419 (patch) | |
| tree | c8c48fd24ab829633cfff6c34794ec37efc0283d /llvm/lib | |
| parent | 862fac958b6442307f4990fa33e315656a23ddc3 (diff) | |
| download | bcm5719-llvm-e9ac7ad68c3cf1d7d5ef6d3e1e4fb9809da8c419.tar.gz bcm5719-llvm-e9ac7ad68c3cf1d7d5ef6d3e1e4fb9809da8c419.zip | |
This should happen if there are no calls, not if it just doesn't adjust the
stack.
llvm-svn: 103813
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86RegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.cpp b/llvm/lib/Target/X86/X86RegisterInfo.cpp index 2db3c703cc9..f24138ae1de 100644 --- a/llvm/lib/Target/X86/X86RegisterInfo.cpp +++ b/llvm/lib/Target/X86/X86RegisterInfo.cpp @@ -898,7 +898,7 @@ void X86RegisterInfo::emitPrologue(MachineFunction &MF) const { if (Is64Bit && !Fn->hasFnAttr(Attribute::NoRedZone) && !needsStackRealignment(MF) && !MFI->hasVarSizedObjects() && // No dynamic alloca. - !MFI->adjustsStack() && // No calls. + !MFI->hasCalls() && // No calls. !Subtarget->isTargetWin64()) { // Win64 has no Red Zone uint64_t MinSize = X86FI->getCalleeSavedFrameSize(); if (HasFP) MinSize += SlotSize; |

