mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-02 09:33:59 +00:00
Remove unneccessary code introduced with 223101.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46c07c3dd8
commit
712af374c1
@ -815,15 +815,6 @@ static void LowerSTATEPOINT(MCStreamer &OS, StackMaps &SM,
|
||||
X86MCInstLower &MCInstLowering) {
|
||||
assert(Is64Bit && "Statepoint currently only supports X86-64");
|
||||
|
||||
// We need to record the frame size for stack walking
|
||||
const MachineFunction *MF = MI.getParent()->getParent();
|
||||
assert(MF && "can't find machine function?");
|
||||
(void)MF;
|
||||
|
||||
//
|
||||
// Emit call instruction
|
||||
//
|
||||
|
||||
// Lower call target and choose correct opcode
|
||||
const MachineOperand &call_target = StatepointOpers(&MI).getCallTarget();
|
||||
MCOperand call_target_mcop;
|
||||
@ -1093,7 +1084,8 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
}
|
||||
case TargetOpcode::STATEPOINT:
|
||||
return LowerSTATEPOINT(OutStreamer, SM, *MI, Subtarget->is64Bit(), TM,
|
||||
getSubtargetInfo(), MCInstLowering);
|
||||
getSubtargetInfo(), MCInstLowering);
|
||||
|
||||
case TargetOpcode::STACKMAP:
|
||||
return LowerSTACKMAP(*MI);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user