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 e5e1481 commit ea10281Copy full SHA for ea10281
lib/SILOptimizer/Utils/CanonicalizeBorrowScope.cpp
@@ -601,7 +601,7 @@ class RewriteOuterBorrowUses {
601
}
602
// If it's not already dead, update this operand bypassing any copies.
603
SILValue innerValue = use->get();
604
- if (scope.getDeleter().deleteIfDead(user)) {
+ if (scope.getDeleter().deleteIfDead(user, /*fixLifetime=*/false)) {
605
LLVM_DEBUG(llvm::dbgs() << " Deleted " << *user);
606
} else {
607
use->set(scope.findDefInBorrowScope(use->get()));
0 commit comments