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 aa54818 commit 4924b65Copy full SHA for 4924b65
lib/SILOptimizer/Utils/OwnershipOptUtils.cpp
@@ -246,6 +246,9 @@ void GuaranteedOwnershipExtension::transform(Status status) {
246
PrunedLivenessBoundary ownedBoundary;
247
ownedBoundary.compute(ownedLifetime, ownedConsumeBlocks);
248
extendOwnedLifetime(beginBorrow->getOperand(), ownedBoundary, deleter);
249
+ PrunedLivenessBoundary guaranteedBoundary;
250
+ guaranteedBoundary.compute(guaranteedLiveness, ownedConsumeBlocks);
251
+ extendLocalBorrow(beginBorrow, guaranteedBoundary, deleter);
252
break;
253
}
254
0 commit comments