mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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