aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
index 9e1f3fc..59b4923c 100644
--- a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
+++ b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
@@ -2144,7 +2144,7 @@ static void CMSEPushCalleeSaves(const TargetInstrInfo &TII,
static void CMSEPopCalleeSaves(const TargetInstrInfo &TII,
MachineBasicBlock &MBB,
- MachineBasicBlock::iterator MBBI, int JumpReg,
+ MachineBasicBlock::iterator MBBI,
bool Thumb1Only) {
const DebugLoc &DL = MBBI->getDebugLoc();
if (Thumb1Only) {
@@ -2418,7 +2418,7 @@ bool ARMExpandPseudo::ExpandMI(MachineBasicBlock &MBB,
CMSERestoreFPRegs(MBB, MBBI, DL, OriginalClearRegs); // restore FP registers
- CMSEPopCalleeSaves(*TII, MBB, MBBI, JumpReg, AFI->isThumb1OnlyFunction());
+ CMSEPopCalleeSaves(*TII, MBB, MBBI, AFI->isThumb1OnlyFunction());
MI.eraseFromParent();
return true;