Commit Graph

21 Commits

Author SHA1 Message Date
Graham Batty
dc6a776d10 stdlib: Use config directives to work without objective-c.
Swift SVN r23211
2014-11-10 20:06:25 +00:00
Graham Batty
373414864d Revert "Use config directives to carve out a 'portable' kernel stdlib."
This reverts commit r23202 pending further discussion.

Swift SVN r23205
2014-11-10 18:46:42 +00:00
Graham Batty
dfa260fab1 Use config directives to carve out a 'portable' kernel stdlib.
Swift SVN r23202
2014-11-10 18:03:09 +00:00
Dave Abrahams
2794fe3a13 [stdlib] Restore a combination of 11 commits
...but remove all new uses of closures, to make things easier on the
optimizer.

Swift SVN r23183
2014-11-08 20:04:29 +00:00
Dave Abrahams
c77d7e353c Revert a combination of 11 commits
These commits are suspected of causing performance regressions:

r22995, "[stdlib] Array nil state elimination, part trois"
r22994, "[stdlib] Array nil-state elimination II"
r22993, "[stdlib] Array nil-state elimination I"
r22992, "[stdlib] Still more nil buffer elimination"
r22991, "[stdlib] Nix an unneeded typealias"
r22988, "[stdlib] Nix _ContiguousArrayBuffer._base, part deux"
r22986, "[stdlib] Kill _ContiguousArrayBuffer._base, part I"
r22985, "[stdlib] destroy redundant property"
r22975, "[stdlib] More array nil-state destruction"
r22974, "[stdlib] Construct HeapBuffer without AnyObject"
r22959, "[stdlib] non-nil ContiguousArray"

Swift SVN r23001
2014-10-29 02:57:45 +00:00
Dave Abrahams
cc0c66df75 [stdlib] destroy redundant property
Swift SVN r22985
2014-10-28 03:58:39 +00:00
Dave Abrahams
1a9f96e1c7 [stdlib] Drop unneeded protocol requirement
Conversion to cocoa is not a common requirement for all models of
_ArrayBufferType

Swift SVN r22947
2014-10-26 18:29:42 +00:00
Dave Abrahams
4e31ae0a44 [stdlib] ArrayCast discipline
use withUnsafeMutableBufferPointer rather than accessing _elementStorage
directly, where possible

Swift SVN r22778
2014-10-15 22:25:11 +00:00
Dave Abrahams
f2a046a64c [stdlib] Remove obsolete workaround
Swift SVN r22709
2014-10-13 21:23:48 +00:00
Dmitri Hrybenko
65fd550aa2 stdlib: remove Doxygen markup
Swift SVN r22074
2014-09-18 15:30:05 +00:00
Dmitri Hrybenko
5746e4e9ca stdlib: rename _fatalError to _sanityCheckFailure. Name similarity between
fatalError and _fatalError has caused some damage already, as some
memory-safety checks in Mirrors are _fatalErrors.


Swift SVN r20969
2014-08-03 15:20:37 +00:00
Dave Abrahams
80a21c8c09 [stdlib] Fix my last commit (oops!)
Swift SVN r20772
2014-07-30 20:42:02 +00:00
Dave Abrahams
287e43ad3c [stdlib] Clean up the other half of array casts
Swift SVN r20771
2014-07-30 20:39:47 +00:00
Dave Abrahams
ab21c59977 [stdlib] Clean up half the array cast machinery
Swift SVN r20765
2014-07-30 18:22:31 +00:00
Dave Abrahams
6e7f83fe98 Internalize old array casting entry-points
The core compiler now uses just two entry points for array casting

Swift SVN r20725
2014-07-29 23:56:51 +00:00
Dave Abrahams
7c7fb3eea0 Restore "[Release note] deferred array cast checks"
I had just gone too far with the laziness; everything was already
working after only one change

Swift SVN r20717
2014-07-29 23:25:27 +00:00
Dave Abrahams
0b562db701 Revert "[Release note] deferred array cast checks"
This reverts commit r20700 and r20702

I'll bring these back when I work out the problems.

Swift SVN r20708
2014-07-29 22:52:28 +00:00
Dave Abrahams
18b81228d5 [stdlib] Defer array bridge cast checks
Part 2 (of 2) of <rdar://problem/17340393>

Swift SVN r20700
2014-07-29 21:41:11 +00:00
Dave Abrahams
5847a0f7c3 [stdlib] defer Array element down-cast checks
Part 1 of <rdar://problem/17340393>

Swift SVN r20699
2014-07-29 21:41:10 +00:00
Dave Abrahams
01dd78ae99 [stdlib] Add missing _sanityCheck diagnostic
Swift SVN r20691
2014-07-29 21:01:26 +00:00
Dave Abrahams
a8225dabee [stdlib] ArrayBridge.swift => ArrayCast.swift
This file is really about array casting, and not (necessarily) bridging.
Bridging may be involved in some array casts, but is not involved in all
of them.

Swift SVN r20690
2014-07-29 20:58:54 +00:00