mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* IRGen: Change c-o-w existential implementation functions * initialzeBufferWith(Copy|Take)OfBuffer value witness implementation for cow existentials Implement and use initialzeBufferWith(Copy|Take)OfBuffer value witnesses for copy-on-write existentials. Before we used a free standing function but the overhead of doing so was noticable (~20-30%) on micro benchmarks. * IRGen: Use common getCopyOutOfLineBoxPointerFunction * Add a runtime function to conditionally make a box unique * Fix compilation of HeapObject.cpp on i386 * Fix IRGen test case * Fix test case for i386
13 lines
396 B
C
13 lines
396 B
C
int _T0Bi32_N;
|
|
int _T0Bi64_N;
|
|
int _T0Bi8_N;
|
|
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_initEnumValueWitnessTableSinglePayload(void) {}
|
|
void _swift_retain(){}
|
|
void swift_allocBox(){}
|