mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Remove unused arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c66df2c7a
commit
445fd04f53
@ -750,7 +750,6 @@ getStackMapEndMOP(MachineInstr::const_mop_iterator MOI,
|
||||
}
|
||||
|
||||
static void LowerSTACKMAP(MCStreamer &OutStreamer,
|
||||
X86MCInstLower &MCInstLowering,
|
||||
StackMaps &SM,
|
||||
const MachineInstr &MI)
|
||||
{
|
||||
@ -768,7 +767,6 @@ static void LowerSTACKMAP(MCStreamer &OutStreamer,
|
||||
// Lower a patchpoint of the form:
|
||||
// [<def>], <id>, <numBytes>, <target>, <numArgs>
|
||||
static void LowerPATCHPOINT(MCStreamer &OutStreamer,
|
||||
X86MCInstLower &MCInstLowering,
|
||||
StackMaps &SM,
|
||||
const MachineInstr &MI) {
|
||||
bool hasDef = MI.getOperand(0).isReg() && MI.getOperand(0).isDef() &&
|
||||
@ -929,10 +927,10 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
}
|
||||
|
||||
case TargetOpcode::STACKMAP:
|
||||
return LowerSTACKMAP(OutStreamer, MCInstLowering, SM, *MI);
|
||||
return LowerSTACKMAP(OutStreamer, SM, *MI);
|
||||
|
||||
case TargetOpcode::PATCHPOINT:
|
||||
return LowerPATCHPOINT(OutStreamer, MCInstLowering, SM, *MI);
|
||||
return LowerPATCHPOINT(OutStreamer, SM, *MI);
|
||||
|
||||
case X86::MORESTACK_RET:
|
||||
OutStreamer.EmitInstruction(MCInstBuilder(X86::RET));
|
||||
|
Loading…
x
Reference in New Issue
Block a user