dart-sdk/tests/compiler
Sigmund Cherem 5192cd1008 Narrowing improvements in dart2js global inference.
* no longer narrow by selector use, only narrow by type and non-null
* check for narrow nesting
* add non-null in a couple known places

One large apps, I compared the type-masks in dump-info and all differences were improvements with non-null. We weren't doing any narrowing based on the possible targets of a selector.

Change-Id: I270f360f70fbe3171d09ccd71d10517be9140194
Reviewed-on: https://dart-review.googlesource.com/c/90340
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2019-02-23 00:10:11 +00:00
..
dart2js Narrowing improvements in dart2js global inference. 2019-02-23 00:10:11 +00:00
dart2js_extra Recognize and inline effectively constant fields 2019-02-22 14:06:05 +00:00
dart2js_native Treeshake unread fields 2019-02-07 09:58:19 +00:00