Skip to content

Commit f30fd12

Browse files
committed
silence a noasserts warning
1 parent 13c60ae commit f30fd12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/SIL/Utils/PrunedLiveness.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@ void MultiDefPrunedLiveness::findBoundariesInBlock(
542542
}
543543
// Handle a live-out or live-within block with potentially multiple defs
544544
unsigned prevCount = boundary.deadDefs.size() + boundary.lastUsers.size();
545+
(void)prevCount;
546+
545547
bool isLive = isLiveOut;
546548
for (auto &inst : llvm::reverse(*block)) {
547549
// Check if the instruction is a def before checking whether it is a

0 commit comments

Comments
 (0)