Skip to content

Commit f295cec

Browse files
committed
Remove commented out code.
1 parent eb5b6e0 commit f295cec

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

llvm/lib/Target/X86/X86FrameLowering.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,16 +1533,11 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF,
15331533
MachineBasicBlock &MBB) const {
15341534
assert(&STI == &MF.getSubtarget<X86Subtarget>() &&
15351535
"MF used frame lowering for wrong subtarget");
1536-
15371536
MachineBasicBlock::iterator MBBI = MBB.begin();
15381537
MachineFrameInfo &MFI = MF.getFrameInfo();
15391538
const Function &Fn = MF.getFunction();
1540-
15411539
X86MachineFunctionInfo *X86FI = MF.getInfo<X86MachineFunctionInfo>();
15421540
uint64_t MaxAlign = calculateMaxStackAlign(MF); // Desired stack alignment.
1543-
1544-
// errs() << "********** MaxAlign size " << MaxAlign;
1545-
15461541
uint64_t StackSize = MFI.getStackSize(); // Number of bytes to allocate.
15471542
bool IsFunclet = MBB.isEHFuncletEntry();
15481543
EHPersonality Personality = EHPersonality::Unknown;
@@ -1553,8 +1548,7 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF,
15531548
bool IsClrFunclet = IsFunclet && FnHasClrFunclet;
15541549
bool HasFP = hasFP(MF);
15551550
bool IsWin64Prologue = isWin64Prologue(MF);
1556-
1557-
bool NeedsWin64CFI = IsWin64Prologue && Fn.needsUnwindTableEntry();
1551+
bool NeedsWin64CFI = IsWin64Prologue && Fn.needsUnwindTableEntry();
15581552
// FIXME: Emit FPO data for EH funclets.
15591553
bool NeedsWinFPO = !IsFunclet && STI.isTargetWin32() &&
15601554
MF.getFunction().getParent()->getCodeViewFlag();

0 commit comments

Comments
 (0)