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.
16 lines
422 B
C
16 lines
422 B
C
int $SBi32_N;
|
|
int $SBi64_N;
|
|
int $SBi8_N;
|
|
int $SBi32_WV;
|
|
int $SBi64_WV;
|
|
int $SBi8_WV;
|
|
void swift_getEnumCaseSinglePayload(void) {}
|
|
void swift_getGenericMetadata(void) {}
|
|
void swift_slowAlloc(void) {}
|
|
void swift_slowDealloc(void) {}
|
|
void swift_storeEnumTagSinglePayload(void) {}
|
|
void swift_allocateGenericValueMetadata(void) {}
|
|
void swift_initEnumMetadataSinglePayload(void) {}
|
|
void swift_retain(){}
|
|
void swift_allocBox(){}
|