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() {
122
122
123
123
void MoveOnlyChecker::completeObjectLifetimes (
124
124
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);
133
133
}
134
134
while (auto value = transitiveValues.pop ()) {
135
135
for (auto *use : value->getUses ()) {
You can’t perform that action at this time.
0 commit comments