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 9f18481 + c552b90 commit 15ab479Copy full SHA for 15ab479
lib/SILOptimizer/Mandatory/MoveOnlyChecker.cpp
@@ -171,16 +171,6 @@ void MoveOnlyChecker::completeObjectLifetimes(
171
}
172
173
174
- for (SILArgument *arg : block->getArguments()) {
175
- assert(!arg->isReborrow() && "reborrows not legal at this SIL stage");
176
- if (!transitiveValues.isVisited(arg))
177
- continue;
178
- if (completion.completeOSSALifetime(
179
- arg, OSSALifetimeCompletion::Boundary::Availability) ==
180
- LifetimeCompletion::WasCompleted) {
181
- madeChange = true;
182
- }
183
184
185
186
0 commit comments