File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
lib/SILOptimizer/Mandatory Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -122,14 +122,14 @@ void MoveOnlyChecker::checkObjects() {
122122
123123void MoveOnlyChecker::completeObjectLifetimes (
124124 ArrayRef<MarkUnresolvedNonCopyableValueInst *> insts) {
125- // TODO: Delete once OSSALifetimeCompletion is run as part of SILGenCleanup.
126- OSSALifetimeCompletion completion (fn, domTree, *deba->get (fn));
127-
128- // Collect all values derived from each mark_unresolved_non_copyable_value
129- // instruction via ownership instructions and phis.
130- ValueWorklist transitiveValues (fn);
131- for (auto *inst : insts) {
132- transitiveValues.push (inst);
125+ // TODO: Delete once OSSALifetimeCompletion is run as part of SILGenCleanup.
126+ OSSALifetimeCompletion completion (fn, domTree, *deba->get (fn));
127+
128+ // Collect all values derived from each mark_unresolved_non_copyable_value
129+ // instruction via ownership instructions and phis.
130+ ValueWorklist transitiveValues (fn);
131+ for (auto *inst : insts) {
132+ transitiveValues.push (inst);
133133 }
134134 while (auto value = transitiveValues.pop ()) {
135135 for (auto *use : value->getUses ()) {
You can’t perform that action at this time.
0 commit comments