Commit Graph

4 Commits

Author SHA1 Message Date
Joe Groff
c0a2994564 AST: Start printing function types with @convention instead of old attributes.
And update tests to match.

Swift SVN r27262
2015-04-13 22:51:34 +00:00
Michael Gottesman
75ea31dba9 Turn on +0 self by default.
The only caveat is that:

1. We do not properly recognize when we have a let binding and we
perform a guaranteed dynamic call. In such a case, we add an extra
retain, release pair around the call. In order to get that case I will
need to refactor some code in Callee. I want to make this change, but
not at the expense of getting the rest of this work in.

2. Some of the protocol witness thunks generated have unnecessary
retains or releases in a similar manner.

But this is a good first step.

I am going to send a large follow up email with all of the relevant results, so
I can let the bots chew on this a little bit.

rdar://19933044

Swift SVN r27241
2015-04-12 22:23:37 +00:00
Luqman Aden
6f1d4746dd [test] Don't depend on target's representation for Int in test.
rdar://problem/20494012

Swift SVN r27202
2015-04-10 03:43:06 +00:00
Luqman Aden
51bf4f36ab [sil-extract] Try matching against demangled function names for -func
option.

rdar://problem/20235182

Swift SVN r27198
2015-04-10 02:22:52 +00:00