mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[DCE] Verify liveness of completed lifetimes."
This reverts commit 3ec9b269f5.
rdar://149896608
This commit is contained in:
@@ -835,9 +835,7 @@ bool DCE::removeDead() {
|
||||
}
|
||||
}
|
||||
|
||||
OSSALifetimeCompletion completion(
|
||||
F, DT, *deadEndBlocks, OSSALifetimeCompletion::IgnoreTrivialVariable,
|
||||
/*forceLivenessVerification=*/true);
|
||||
OSSALifetimeCompletion completion(F, DT, *deadEndBlocks);
|
||||
for (auto value : valuesToComplete) {
|
||||
if (!value.has_value())
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user