Files
swift-mirror/validation-test/stdlib/MicroStdlib/Inputs/RuntimeStubs.c
Arnold Schwaighofer 67e3d27fd9 Copy-on-write existential performance work (#8369)
* 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
2017-03-27 20:51:02 -07:00

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