Skip to content

Commit c552b90

Browse files
committed
Temporarily turn off completing lifetimes of block arguments
1 parent 179a125 commit c552b90

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/SILOptimizer/Mandatory/MoveOnlyChecker.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,6 @@ void MoveOnlyChecker::completeObjectLifetimes(
171171
}
172172
}
173173
}
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-
}
184174
}
185175
}
186176

0 commit comments

Comments
 (0)