Skip to content

Commit 0611a66

Browse files
[ARM] Fix a warning
This patch fixes: llvm/lib/Target/ARM/ARMFrameLowering.cpp:1404:39: error: unused variable 'PushPopSplit' [-Werror,-Wunused-variable]
1 parent 6b4f675 commit 0611a66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/ARM/ARMFrameLowering.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,6 +1509,7 @@ void ARMFrameLowering::emitEpilogue(MachineFunction &MF,
15091509
// Increment past our save areas.
15101510
if (AFI->getGPRCalleeSavedArea3Size()) {
15111511
assert(PushPopSplit == ARMSubtarget::SplitR11WindowsSEH);
1512+
(void)PushPopSplit;
15121513
MBBI++;
15131514
}
15141515

@@ -1528,6 +1529,7 @@ void ARMFrameLowering::emitEpilogue(MachineFunction &MF,
15281529

15291530
if (AFI->getGPRCalleeSavedArea2Size()) {
15301531
assert(PushPopSplit != ARMSubtarget::SplitR11WindowsSEH);
1532+
(void)PushPopSplit;
15311533
MBBI++;
15321534
}
15331535
if (AFI->getGPRCalleeSavedArea1Size()) MBBI++;

0 commit comments

Comments
 (0)