Fix comment.

llvm-svn: 103804
This commit is contained in:
Bill Wendling 2010-05-14 21:17:29 +00:00
parent e346a38ed4
commit b2c38c02ea

View File

@ -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->adjustsStack() && // Doesn't adjust stack.
!Subtarget->isTargetWin64()) { // Win64 has no Red Zone
uint64_t MinSize = X86FI->getCalleeSavedFrameSize();
if (HasFP) MinSize += SlotSize;