mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
f01af883fc
If a type has the same layout as one of the basic integer types, or has a single refcounted pointer representation, we can use prefab value witness tables from the runtime instead of instantiating new ones. This saves quite a bit of code size, particularly in the Apple SDK overlays, where there are lots of swift_newtype wrappers and option set structs.