mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This has the same semantics as open_existential_box, but returns an object value instead of an address. This is used in SIL opaque values mode. Attempting to reuse open_existential_box in this mode causes SIL type inconsistencies that are too difficult to work around. Adding this instruction allows for consistent handling of opaque values. The original versions of several of these currently redundant instructions will be removed once the SIL representation stabilizes.
6.3 KiB
6.3 KiB