John McCall
80dd63b38d
Don't allocate values out-of-line just because they're
...
not bitwise takable.
Finishes rdar://16755731
Swift SVN r20742
2014-07-30 08:24:18 +00:00
Joe Groff
71678b4bdf
IRGen/Runtime: Expose the 'isBitwiseTakable' bit in the value witness flags.
...
Set a bit for types that are non-bitwise-takable, and calculate it as part of runtime struct and enum layout. Include 'bitwise takable' as part of the runtime 'is inline' calculation to be consistent with the compile-time policy change in r17008.
Swift SVN r17036
2014-04-29 15:23:14 +00:00
Joe Groff
3e0c1cebcf
Runtime: Update the 'inline storage' flag properly for single-payload enums.
...
It cannot be simply inherited from the payload value witness table; it needs to be recalculated for the new type's size.
Swift SVN r14060
2014-02-18 23:37:24 +00:00
Dave Abrahams
b3955c6d7a
[stdlib] NewString.swift: work in progress
...
Swift SVN r10680
2013-11-28 16:45:21 +00:00
Joe Groff
e109124186
Replace 'union' keyword with 'enum'.
...
This only touches the compiler and tests. Doc updates to follow.
Swift SVN r8478
2013-09-20 01:33:14 +00:00