We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eea762 commit 9166233Copy full SHA for 9166233
lib/SILOptimizer/Utils/ShrinkBorrowScope.cpp
@@ -301,13 +301,9 @@ void ShrinkBorrowScope::findBarriers() {
301
// At that time, it was checked that this block (along with all that
302
// successor's other predecessors) had a terminator over which the borrow
303
// scope could be shrunk. Shrink it now.
304
-#ifndef NDEBUG
305
- bool hoisted =
306
-#endif
307
- tryHoistOverInstruction(block->getTerminator());
308
+ bool hoisted = tryHoistOverInstruction(block->getTerminator());
309
assert(hoisted);
310
+ (void)hoisted;
311
}
312
SILInstruction *barrier = nullptr;
313
while ((instruction = instruction->getPreviousInstruction())) {
0 commit comments