Skip to content

Commit f9c586f

Browse files
committed
Revert "[ownership] Verify functions before we strip ownership."
This reverts commit 7bd15bd.
1 parent f53525b commit f9c586f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/SILOptimizer/Transforms/OwnershipModelEliminator.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,6 @@ struct OwnershipModelEliminator : SILModuleTransform {
382382
if (SkipTransparent && F.isTransparent())
383383
continue;
384384

385-
// Verify here to make sure ownership is correct before we strip.
386-
F.verify();
387-
388385
if (stripOwnership(F)) {
389386
auto InvalidKind =
390387
SILAnalysis::InvalidationKind::BranchesAndInstructions;

0 commit comments

Comments
 (0)