Remove some unused variables to clean up the -Werror build
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index f23b5656f88828054e4d7f1e05f037e79ee23fc6..5a7214f912bcd13b88bd996e9fef7ff5037f48f4 100644 (file)
@@ -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())