Ted Kremenek
49f393920a
Rename bridging "convert" functions to start with '_'.
...
This is part of our poor-man's internal compiler SPI hiding
in the standard library. We don't want these functions showing
up in code completion, etc.
Swift SVN r16916
2014-04-27 05:13:19 +00:00
Dave Zarzycki
2f4d679fd0
Runtime: Drop the "raw" label on normal memory. NFC.
...
DI defined away the need for zeroed memory.
Swift SVN r15293
2014-03-20 20:42:27 +00:00
Dave Zarzycki
9816e2ab05
Runtime: the Swift heap/zone
...
Good:
* We now no longer wrap the system malloc zone.
* Tiny allocation quantum is pointer sized, not 16 bytes.
* Far less metadata overhead than the system malloc zone.
Bad:
* Our heap density isn't quite as good as the default zone. This is a O(1)
versus O(N) tradeoff. The default malloc zone has been trending in this
direction too.
TODO:
* Introspection
* Tune secondary fast paths
* Huge allocations
Swift SVN r15269
2014-03-20 17:43:56 +00:00
Dave Zarzycki
784630d9b2
Runtime: Fix assembly CFI data
...
This should fix: <rdar://problem/16188027>
Swift SVN r15249
2014-03-19 21:24:42 +00:00
Dave Zarzycki
46d7fc8a46
Runtime: hardcode less about the OS implementation
...
This also fixes non-fast-path platforms.
Swift SVN r14481
2014-02-27 22:15:22 +00:00
Doug Gregor
904739cb03
Revert "Runtime: hardcode less about the OS implementation"
...
This reverts r14453, which seems to be breaking the build.
Swift SVN r14480
2014-02-27 21:43:56 +00:00
Dave Zarzycki
5946a56fa3
Runtime: hardcode less about the OS implementation
...
There is still more to do in this area before we GM.
Swift SVN r14453
2014-02-27 06:14:53 +00:00
Dave Zarzycki
056091461e
runtime: fix a build failure with the simulator
...
Swift SVN r14432
2014-02-26 23:52:43 +00:00
Dave Zarzycki
f8be3a9f1e
runtime: always provide swift_retainAndReturnThree()
...
We've disabled the fast entry points for now on the simulator, but the
ARC optimizer doesn't know that. This is a workaround.
Swift SVN r14425
2014-02-26 23:28:27 +00:00
Dave Zarzycki
33f6978eeb
runtime: make the "FastEntryPoints" header and implementation agree
...
Swift SVN r14421
2014-02-26 22:48:32 +00:00
Dave Zarzycki
ab1efa6ec7
runtime: DI means we don't need heap APIs that take/return zero-initialized memory
...
Swift SVN r14404
2014-02-26 20:31:11 +00:00
Greg Parker
9c0f1fafd1
Update slow versions of FastEntryPoints.
...
Swift SVN r7938
2013-09-05 02:45:34 +00:00
Dmitri Hrybenko
ea43c46262
Splitting the standard library: move runtime -> stdlib/runtime
...
Swift SVN r5887
2013-06-28 22:41:38 +00:00