Skip to content

Commit 960bec4

Browse files
committed
Temporarily turn off completing lifetimes of block arguments
1 parent cc09ca3 commit 960bec4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/SILOptimizer/Mandatory/MoveOnlyChecker.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,6 @@ void MoveOnlyChecker::completeObjectLifetimes(
169169
}
170170
}
171171
}
172-
for (SILArgument *arg : block->getArguments()) {
173-
assert(!arg->isReborrow() && "reborrows not legal at this SIL stage");
174-
if (!transitiveValues.isVisited(arg))
175-
continue;
176-
if (completion.completeOSSALifetime(arg) ==
177-
LifetimeCompletion::WasCompleted) {
178-
madeChange = true;
179-
}
180-
}
181172
}
182173
}
183174

0 commit comments

Comments
 (0)