Commit Graph

16 Commits

Author SHA1 Message Date
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
49bee35d1a Runtime: magic numbers are bad
Swift SVN r15012
2014-03-13 23:15:07 +00:00
Dave Zarzycki
8ef7f64619 Runtime: disable the assembly entry points for now
They aren't buying us anything until we thread through the custom ABI
work into Swift. I'm told this won't happen for a while. Until then,
they're just double the intermediate work in this area.

Swift SVN r15004
2014-03-13 21:21:12 +00:00
Dave Abrahams
6eee8e3205 Move HeapObject into the stdlib shim module
Now that we can read definitions directly from "C" headers, stop trying
to maintain a mirror of the HeapObject struct in Swift code in the
standard library.

Swift SVN r14982
2014-03-12 23:48:31 +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
6f6495b13f runtime: ALLOC_CACHE_COUNT should never have been less than 56/64
This change removes a broken simulator hack because we don't enable the
fast cache for the simulator anymore, and even if we did, ALLOC_CACHE_COUNT
must be 56 or 64, not 32 (for 32-bit and 64-bit respectively).

Swift SVN r14447
2014-02-27 03:52:54 +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
Dave Zarzycki
22e30666bd Fix a build failure
Swift SVN r14402
2014-02-26 19:50:20 +00:00
Dave Zarzycki
8fd6b3a4ab runtime: disable the malloc cache entirely for the simulator
Swift SVN r14396
2014-02-26 17:18:31 +00:00
Greg Parker
1a07770bbc Remove x86-specific code that was unused on x86.
Swift SVN r8446
2013-09-19 10:58:32 +00:00
Greg Parker
e37d06efff arm64 does not have fast entry points.
Swift SVN r8176
2013-09-13 01:24:02 +00:00
Greg Parker
9c0f1fafd1 Update slow versions of FastEntryPoints.
Swift SVN r7938
2013-09-05 02:45:34 +00:00
Dave Zarzycki
e767497062 Basic runtime support for weak references
Swift SVN r5875
2013-06-28 20:01:30 +00:00
Doug Gregor
4a591b8493 Move the last runtime header into include/swift/Runtime.
Swift SVN r3399
2012-12-07 16:01:01 +00:00