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 1521553003: dart2js cps: Replace GetLazyStatic with GetStatic. (Closed)

Created:
5 years ago by asgerf
Modified:
5 years ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js cps: Replace GetLazyStatic with GetStatic. Also fixes a bug in GVN that made it unable to GVN GetLazyStatic. BUG= R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/c6e2af11dbbdbd411fffd1d5619a8646251c6293

Patch Set 1 #

Total comments: 8

Patch Set 2 : Proactively disable LICM for direct lazy field access #

Patch Set 3 : Types on map #

Patch Set 4 : Merge #

Patch Set 5 : Add witness to GetStatic and switch to scope-based analysis #

Total comments: 6

Patch Set 6 : Remove obsolete comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -15 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 2 3 4 3 chunks +22 lines, -2 lines 0 comments Download
A pkg/compiler/lib/src/cps_ir/eagerly_load_statics.dart View 1 2 3 4 5 1 chunk +67 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/finalize.dart View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/gvn.dart View 1 2 3 4 5 3 chunks +13 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/optimizers.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/task.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
asgerf
5 years ago (2015-12-11 14:25:44 UTC) #2
sra1
lgtm with types on map. https://codereview.chromium.org/1521553003/diff/1/pkg/compiler/lib/src/cps_ir/eagerly_load_statics.dart File pkg/compiler/lib/src/cps_ir/eagerly_load_statics.dart (right): https://codereview.chromium.org/1521553003/diff/1/pkg/compiler/lib/src/cps_ir/eagerly_load_statics.dart#newcode15 pkg/compiler/lib/src/cps_ir/eagerly_load_statics.dart:15: /// analysis in the ...
5 years ago (2015-12-11 17:13:09 UTC) #3
asgerf
PTAL at patch 5 -> 1 (contains a few merge changes, sorry). I changed GetStatic ...
5 years ago (2015-12-14 17:05:39 UTC) #4
sra1
lgtm https://codereview.chromium.org/1521553003/diff/80001/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart File pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/1521553003/diff/80001/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart#newcode1310 pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart:1310: /// code motion. Do we assert this condition ...
5 years ago (2015-12-14 18:19:41 UTC) #5
asgerf
https://codereview.chromium.org/1521553003/diff/80001/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart File pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/1521553003/diff/80001/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart#newcode1310 pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart:1310: /// code motion. On 2015/12/14 18:19:41, sra1 wrote: > ...
5 years ago (2015-12-15 10:29:56 UTC) #6
asgerf
5 years ago (2015-12-15 10:46:04 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
c6e2af11dbbdbd411fffd1d5619a8646251c6293 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698