Remove some unused variables to clean up the -Werror build
llvm-svn: 252580
This commit is contained in:
parent
3c7ecf9af1
commit
e35168f008
|
@ -749,8 +749,8 @@ MachineInstr *X86FrameLowering::emitStackProbeInlineStub(
|
||||||
|
|
||||||
assert(InProlog && "ChkStkStub called outside prolog!");
|
assert(InProlog && "ChkStkStub called outside prolog!");
|
||||||
|
|
||||||
MachineInstrBuilder CI = BuildMI(MBB, MBBI, DL, TII.get(X86::CALLpcrel32))
|
BuildMI(MBB, MBBI, DL, TII.get(X86::CALLpcrel32))
|
||||||
.addExternalSymbol("__chkstk_stub");
|
.addExternalSymbol("__chkstk_stub");
|
||||||
|
|
||||||
return MBBI;
|
return MBBI;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21394,12 +21394,12 @@ X86TargetLowering::EmitLoweredCatchRet(MachineInstr *MI,
|
||||||
MachineBasicBlock *BB) const {
|
MachineBasicBlock *BB) const {
|
||||||
MachineFunction *MF = BB->getParent();
|
MachineFunction *MF = BB->getParent();
|
||||||
const Constant *PerFn = MF->getFunction()->getPersonalityFn();
|
const Constant *PerFn = MF->getFunction()->getPersonalityFn();
|
||||||
bool IsSEH = isAsynchronousEHPersonality(classifyEHPersonality(PerFn));
|
|
||||||
const TargetInstrInfo &TII = *Subtarget->getInstrInfo();
|
const TargetInstrInfo &TII = *Subtarget->getInstrInfo();
|
||||||
MachineBasicBlock *TargetMBB = MI->getOperand(0).getMBB();
|
MachineBasicBlock *TargetMBB = MI->getOperand(0).getMBB();
|
||||||
DebugLoc DL = MI->getDebugLoc();
|
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.
|
// Only 32-bit EH needs to worry about manually restoring stack pointers.
|
||||||
if (!Subtarget->is32Bit())
|
if (!Subtarget->is32Bit())
|
||||||
|
|
Loading…
Reference in New Issue