mirror of
https://github.com/apple/swift.git
synced 2026-01-07 22:52:31 +01:00
unconditional_checked_cast can read the pointer, update swift::canUseObject to return false for this. Previously, if unconditional_checked_cast was dead, we could get a miscompile because of release hoisting. Fixes rdar://137990246
37 KiB
37 KiB