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

Issue 2797443007: fix #29182, generate top level const fields lazily (Closed)

Created:
3 years, 8 months ago by Jennifer Messerly
Modified:
3 years, 8 months ago
Reviewers:
vsm
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix #29182, generate top level const fields lazily This fixes an ordering issue, but also may help load time. R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/e4e7dffadb28975e834920662144bcfd6f9188b5

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -402 lines) Patch
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View 1 Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 29 chunks +186 lines, -220 lines 4 comments Download
D pkg/dev_compiler/lib/src/compiler/element_loader.dart View 1 1 chunk +0 lines, -117 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/async_helper.js View 1 1 chunk +16 lines, -3 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/closure.js View 1 2 chunks +23 lines, -13 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/destructuring.js View 1 1 chunk +5 lines, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/es6_modules.js View 1 1 chunk +11 lines, -6 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/map_keys.js View 1 1 chunk +5 lines, -5 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/map_keys.js.map View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/node_modules.js View 1 1 chunk +11 lines, -6 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js View 1 4 chunks +41 lines, -26 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js.map View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/varargs.js View 1 1 chunk +5 lines, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_test.dart View 1 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Jennifer Messerly
3 years, 8 months ago (2017-04-04 22:38:51 UTC) #2
vsm
lgtm! https://codereview.chromium.org/2797443007/diff/10001/pkg/dev_compiler/lib/src/compiler/code_generator.dart File pkg/dev_compiler/lib/src/compiler/code_generator.dart (left): https://codereview.chromium.org/2797443007/diff/10001/pkg/dev_compiler/lib/src/compiler/code_generator.dart#oldcode4078 pkg/dev_compiler/lib/src/compiler/code_generator.dart:4078: ClassElement classElem, VariableDeclaration field) { We could consider ...
3 years, 8 months ago (2017-04-04 22:58:43 UTC) #3
Jennifer Messerly
Main question: should we land now and work on improvements as another issue (either right ...
3 years, 8 months ago (2017-04-04 23:05:17 UTC) #4
vsm
On 2017/04/04 23:05:17, Jennifer Messerly wrote: > Main question: should we land now and work ...
3 years, 8 months ago (2017-04-04 23:14:40 UTC) #5
Jennifer Messerly
Thanks! landing but will file a bug linking commit shortly https://codereview.chromium.org/2797443007/diff/10001/pkg/dev_compiler/lib/src/compiler/code_generator.dart File pkg/dev_compiler/lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2797443007/diff/10001/pkg/dev_compiler/lib/src/compiler/code_generator.dart#newcode539 ...
3 years, 8 months ago (2017-04-04 23:18:34 UTC) #6
Jennifer Messerly
Committed patchset #2 (id:10001) manually as e4e7dffadb28975e834920662144bcfd6f9188b5 (presubmit successful).
3 years, 8 months ago (2017-04-04 23:18:56 UTC) #8
Jennifer Messerly
3 years, 8 months ago (2017-04-04 23:20:33 UTC) #9
Message was sent while issue was closed.
https://github.com/dart-lang/sdk/issues/29253

Powered by Google App Engine
This is Rietveld 408576698