practicalswift
b704f1448b
[gardening] Improve header consistency
2017-04-12 15:13:11 +02:00
Michael Gottesman
f9e3b1d6d9
Reapply "[silgen] If we have a direct guaranteed convention and have an owned value, perform a borrow.""
...
This partially reverts commit 41f425a503 .
The key thing is that now it is behind the semantic sil flag. I have an
additional patch that turns this back on in front of the flag, but it requires a
little bit of mandatory pass work that Erik is going to hit this week.
rdar://31145255
2017-03-26 12:56:42 -07:00
Michael Gottesman
41f425a503
Revert "[silgen] If we have a direct guaranteed convention and have an owned value, perform a borrow."
...
This reverts commit 4c8595b002 .
2017-03-20 05:00:31 -07:00
Michael Gottesman
4c8595b002
[silgen] If we have a direct guaranteed convention and have an owned value, perform a borrow.
...
Now that all arguments are properly scoped, we do not need to worry about this
extending the lifetimes of COW times inappropriately.
rdar://30955427
2017-03-18 18:59:31 -07:00
Michael Gottesman
b99c47c006
[silgen] Scope argument cleanups with a new scope called "ArgumentScope".
...
Once this is in, I will be able to finish the SILGenApply part of Semantic SIL.
rdar://30955427
2017-03-18 17:03:41 -07:00