Chris Lattner
1472e4d914
Remove the ASTContext argument from LValueType::get(). It is already
...
only two loads away from the type argument passed in.
Swift SVN r11496
2013-12-20 01:28:50 +00:00
Joe Groff
017440165e
Fix the weird capitalization of MetaTypeType.
...
Swift SVN r11475
2013-12-19 18:43:08 +00:00
Doug Gregor
07c0793e30
Construct the type witnesses of SpecializedProtocolConformance lazily.
...
A SpecializedProtocolConformance intentionally contains all of the
information we need to synthesize the type witnesses from the
underlying (generic) conformance. Do so lazily rather than eagerly,
because we won't always need all of them.
As a nice side effect, we no longer need to serialize the witnesses of
these specialized protocol conformances, so we can save some space in
the Swift module file.
Swift SVN r11303
2013-12-14 06:20:44 +00:00
Doug Gregor
6fb1860f45
Replace multiple generated constraint sets with a single vector.
...
Swift SVN r11078
2013-12-10 16:46:46 +00:00
Doug Gregor
3755e6d556
Replace worklist deque with Active/Inactive constraint lists.
...
Swift SVN r11077
2013-12-10 16:36:36 +00:00
Doug Gregor
2d61bd31f8
Always use the constraint graph and worklist.
...
Since it takes the code in <rdar://problem/15476050> from > 10 minutes
to 4 seconds.
Swift SVN r11064
2013-12-10 01:25:56 +00:00
Doug Gregor
3040f2195b
Factor our the selection of "alternative" literal type suggestions.
...
Swift SVN r11035
2013-12-09 19:19:21 +00:00
Doug Gregor
79f8175e0b
Solver: Keep track of a solution's score as we're computing it.
...
No functionality change here; just staging for some future optimizations.
Swift SVN r11028
2013-12-09 17:12:07 +00:00
Doug Gregor
a6bd190b7c
Split the core implementation of ConstraintSystem into its own file.
...
Swift SVN r11014
2013-12-09 14:05:35 +00:00