Commit Graph

4 Commits

Author SHA1 Message Date
Slava Pestov
c45dc6dad9 More resilient class layout tests
Looks like subclassing classes with resiliently-sized properties works,
as long as the subclass is @_fixed_layout, so let's ensure that's tested.

We don't want @_fixed_layout classes to be a thing though, and we still
can't handle changes to the number of stored properties in a base class,
so a couple of tests are disabled until I land some more patches.
2016-01-07 06:52:39 -08:00
Slava Pestov
055b326755 Move utility function from Inputs/resilient_class.swift to single test that uses it 2016-01-06 10:46:01 -08:00
Slava Pestov
d88ac25ede SILGen: resilient class tests
- final fields of resilient classes are accessed through accessor
- accessors are not transparent

Seems this already works.
2015-12-19 00:47:47 -08:00
David Farler
101cf49880 Use -enable-resilience for IRGen super_method tests
We've already got -enable-resilience and @_fixed_layout to compare
IRGen differences when lowering super_method instructions, so nuke
the -force-resilient-super-dispatch testing flag. While
we're at it, consolidate the super tests a bit.
2015-12-16 14:01:49 -08:00