Descriptiondart2js kernel: do less enqueuing.
Convert to kernel only classes and elements that have been resolved. For
anything else, pretend the member doesn't exist.
One exception: fields are added because an unused field might still be stored in
an initializer. This appears to only occur with constants in metadata. Creating the constant in code will not hit this issue.
This makes the compiler do work for the same set of elements that were included during resolution. Running all language tests with --dart2js-batch is now 2.5 min (down from 8 min)
BUG=
R=efortuna@google.com
Committed: https://github.com/dart-lang/sdk/commit/9c10363bd70b9ae0e45a7339ea17d7816203624a
Patch Set 1 : . #Patch Set 2 : do allow/create references to malformed elements #
Messages
Total messages: 12 (8 generated)
|