mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We may see undef closure captures in ClosureLifetimeFixup since it is a mandatory pass that runs on invalid code as well. This could sometimes hang the compiler while running `insertDeallocOfCapturedArguments` in release builds. This change adds a bailout when we see an undef closure capture to avoid running into this issue.
92 KiB
92 KiB