Skip to content

Commit ae1479c

Browse files
committed
[ARM] Remove unused argument. NFC
1 parent 275d717 commit ae1479c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,7 +2144,7 @@ static void CMSEPushCalleeSaves(const TargetInstrInfo &TII,
21442144

21452145
static void CMSEPopCalleeSaves(const TargetInstrInfo &TII,
21462146
MachineBasicBlock &MBB,
2147-
MachineBasicBlock::iterator MBBI, int JumpReg,
2147+
MachineBasicBlock::iterator MBBI,
21482148
bool Thumb1Only) {
21492149
const DebugLoc &DL = MBBI->getDebugLoc();
21502150
if (Thumb1Only) {
@@ -2418,7 +2418,7 @@ bool ARMExpandPseudo::ExpandMI(MachineBasicBlock &MBB,
24182418

24192419
CMSERestoreFPRegs(MBB, MBBI, DL, OriginalClearRegs); // restore FP registers
24202420

2421-
CMSEPopCalleeSaves(*TII, MBB, MBBI, JumpReg, AFI->isThumb1OnlyFunction());
2421+
CMSEPopCalleeSaves(*TII, MBB, MBBI, AFI->isThumb1OnlyFunction());
24222422

24232423
MI.eraseFromParent();
24242424
return true;

0 commit comments

Comments
 (0)