Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Issue 2604463002: dart2js kernel: do less enqueuing. (Closed)

Created:
3 years, 12 months ago by Siggi Cherem (dart-lang)
Modified:
3 years, 11 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org, Harry Terkelsen
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -10 lines) Patch
M pkg/compiler/lib/src/kernel/kernel.dart View 1 8 chunks +25 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/kernel/kernel_visitor.dart View 1 2 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Siggi Cherem (dart-lang)
3 years, 12 months ago (2016-12-23 00:25:46 UTC) #7
Emily Fortuna
lgtm \o/
3 years, 12 months ago (2016-12-23 00:37:49 UTC) #8
Siggi Cherem (dart-lang)
thanks! After testing this in host-checked mode, I realized I needed one more fix to ...
3 years, 11 months ago (2016-12-28 15:35:26 UTC) #10
Siggi Cherem (dart-lang)
3 years, 11 months ago (2016-12-28 15:36:31 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:80001) manually as
9c10363bd70b9ae0e45a7339ea17d7816203624a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698