mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
dff0031b02
The layout changes to become relative-address based. For this to be truly immutable (at least on Darwin), things like the RO data patterns must be moved out of the pattern header. Additionally, compress the pattern header so that we do not include metadata about patterns that are not needed for the type. Value metadata patterns just include the metadata kind and VWT. The design here is meant to accomodate non-default instantiation patterns should that become an interesting thing to support in the future, e.g. for v-table specialization.