Commit Graph

7 Commits

Author SHA1 Message Date
Michael Gottesman
3ebd8df493 [gardening] Remove unnecessary -enable-sil-ownership from tests that now just get it from their pattern.
This just eliminates -enable-sil-ownership from all target-swift-frontend and
target-swift-emit-silgen RUN lines. Both of those now include
enable-sil-ownership in their expansion.
2019-03-12 20:39:18 -07:00
Slava Pestov
b9e0a9418a SIL: Canonicalize subscript element type with respect to generic signature when lowering accessor type
Fixes <rdar://problem/44762116>.
2019-01-02 15:03:26 -05:00
Erik Eckstein
39bb14b094 change mangling prefix from $S to $s
This is the final ABI mangling prefix

rdar://problem/38471478
2018-09-19 13:55:11 -07:00
John McCall
b80618fc80 Replace materializeForSet with the modify coroutine.
Most of this patch is just removing special cases for materializeForSet
or other fairly mechanical replacements.  Unfortunately, the rest is
still a fairly big change, and not one that can be easily split apart
because of the quite reasonable reliance on metaprogramming throughout
the compiler.  And, of course, there are a bunch of test updates that
have to be sync'ed with the actual change to code-generation.

This is SR-7134.
2018-08-27 03:24:43 -04:00
Doug Gregor
11b50b6369 [SILGen] Improve newly-added test that involves @_specialize 2018-04-26 23:39:32 -07:00
Doug Gregor
0ea8f3da66 [SILGen] Fix no-parameter subscript accessor emission more thoroughly. 2018-04-26 13:53:28 -07:00
Doug Gregor
d7c68871cb [SILGen] Don't assert on subscripts with no index arguments. 2018-04-26 10:05:52 -07:00