Skip to content

Commit 15ab479

Browse files
authored
Merge pull request #74660 from meg-gupta/completelifetimemain
Temporarily turn off completing lifetimes of block arguments
2 parents 9f18481 + c552b90 commit 15ab479

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)