Commit Graph

7 Commits

Author SHA1 Message Date
Slava Pestov
1159af50d9 Rename -enable-resilience to -enable-library-evolution and make it a driver flag
Fixes <rdar://problem/47679085>.
2019-03-14 22:24:26 -04:00
Jordan Rose
81bcf9d5d6 Revert "[ParseableInterfaces] Skip value witnesses of resilient conformances" (#20637)
This reverts commit 61dd307b3b,
the effective part of #20419.

rdar://problem/43824088
2018-11-16 11:21:14 -08:00
Jordan Rose
25d380c3e2 [test] @objc optional should always use a dynamic dispatch (#20487)
Right now we're not being careful about 'optional' in witness tables
for parseable interfaces; we're listing the requirement as the
implementation even if the requirement is optional. As long as we
don't optimize based on that information, though, we should be okay.
2018-11-12 08:25:27 -08:00
Jordan Rose
61dd307b3b [ParseableInterfaces] Skip value witnesses of resilient conformances
We can't devirtualize through these conformances anyway, so we can get
a (probably tiny) speedup by not doing any resolution of non-type
witnesses.

rdar://problem/43824088
2018-11-09 09:05:07 -08:00
Jordan Rose
a9beecce1f [ParseableInterface] Don't bother computing default witness tables (#20437)
These are only used within the original module today, so we can skip
filling them in.
2018-11-09 08:29:15 -08:00
Graydon Hoare
c79ae081b2 [ModuleInterface] Add required comments to .swiftinterface tests. 2018-10-11 16:43:51 -07:00
Jordan Rose
73d5ebaad2 Rename "textual interface" to "parseable interface" (#19713)
We already have something called "module interfaces" -- it's the
generated interface view that you can see in Xcode, the interface
that's meant for developers using a library. Of course, that's also a
textual format. To reduce confusion, rename the new module stability
feature to "parseable [module] interfaces".
2018-10-04 17:49:55 -07:00