mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Replace `unconditional_checked_cast` to an existential metatype with an `init_existential_metatype`, it the source is a conforming type. Note that init_existential_metatype is better than unconditional_checked_cast because it does not need to do any runtime casting.
3.2 KiB
3.2 KiB