Skip to content

Commit fd9187f

Browse files
committed
[NFC] Silence variables unused in release builds
1 parent 37ec83f commit fd9187f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ class RegReloadCache {
224224
void recordReload(Register Reg, int FI, const MachineBasicBlock *MBB) {
225225
RegSlotPair RSP(Reg, FI);
226226
auto Res = Reloads[MBB].insert(RSP);
227+
(void)Res;
227228
assert(Res.second && "reload already exists");
228229
}
229230

@@ -475,6 +476,7 @@ class StatepointState {
475476
TII.loadRegFromStackSlot(*MBB, It, Reg, FI, RC, &TRI);
476477
MachineInstr *Reload = It->getPrevNode();
477478
int Dummy = 0;
479+
(void)Dummy;
478480
assert(TII.isLoadFromStackSlot(*Reload, Dummy) == Reg);
479481
assert(Dummy == FI);
480482
MBB->remove(Reload);

0 commit comments

Comments
 (0)