diff options
| -rw-r--r-- | llvm/lib/Target/X86/X86FrameLowering.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 4 | 
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp index 437e671dc99..21b912603be 100644 --- a/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -749,8 +749,8 @@ MachineInstr *X86FrameLowering::emitStackProbeInlineStub(    assert(InProlog && "ChkStkStub called outside prolog!"); -  MachineInstrBuilder CI = BuildMI(MBB, MBBI, DL, TII.get(X86::CALLpcrel32)) -                               .addExternalSymbol("__chkstk_stub"); +  BuildMI(MBB, MBBI, DL, TII.get(X86::CALLpcrel32)) +      .addExternalSymbol("__chkstk_stub");    return MBBI;  } diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index f23b5656f88..5a7214f912b 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -21394,12 +21394,12 @@ X86TargetLowering::EmitLoweredCatchRet(MachineInstr *MI,                                         MachineBasicBlock *BB) const {    MachineFunction *MF = BB->getParent();    const Constant *PerFn = MF->getFunction()->getPersonalityFn(); -  bool IsSEH = isAsynchronousEHPersonality(classifyEHPersonality(PerFn));    const TargetInstrInfo &TII = *Subtarget->getInstrInfo();    MachineBasicBlock *TargetMBB = MI->getOperand(0).getMBB();    DebugLoc DL = MI->getDebugLoc(); -  assert(!IsSEH && "SEH does not use catchret!"); +  assert(!isAsynchronousEHPersonality(classifyEHPersonality(PerFn)) && +         "SEH does not use catchret!");    // Only 32-bit EH needs to worry about manually restoring stack pointers.    if (!Subtarget->is32Bit())  | 

