Files
swift-mirror/validation-test/stdlib/MicroStdlib/Inputs/RuntimeStubs.c
T
Joe Groff f01af883fc IRGen: Use known value witness tables for common type layouts.
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.
2018-03-11 11:04:37 -07:00

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(){}