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 f824ca1 commit bea8e12Copy full SHA for bea8e12
lib/SILOptimizer/Mandatory/PredictableMemOpt.cpp
@@ -1301,7 +1301,7 @@ void AvailableValueAggregator::addMissingDestroysForCopiedValues(
1301
// Otherwise, we need to insert one last destroy after the load for our phi.
1302
auto next = std::next(load->getIterator());
1303
SILBuilderWithScope builder(next);
1304
- builder.emitDestroyValueOperation(next->getLoc(), cvi);
+ builder.emitDestroyValueOperation(RegularLocation(next->getLoc()), cvi);
1305
}
1306
1307
0 commit comments