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.
2 parents 824dd05 + 4924b65 commit d034448Copy full SHA for d034448
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