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

Issue 1234753003: dart2js cps: Rewrite mutable variables to continuation parameters. (Closed)

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

Description

dart2js cps: Rewrite mutable variables to continuation parameters. To assist basic block traversal, expressions now belong to one of three categories: - InteriorExpression - CallExpression - TailExpression BUG= R=karlklose@google.com Committed: https://github.com/dart-lang/sdk/commit/562825e1610f59acf86bf13d91abee3e797c997e

Patch Set 1 #

Patch Set 2 : Adjust doc comment #

Total comments: 6

Patch Set 3 : Address comments #

Patch Set 4 : Add tests and fix an assertion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -97 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 4 chunks +11 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 22 chunks +64 lines, -46 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart View 6 chunks +13 lines, -11 lines 0 comments Download
A pkg/compiler/lib/src/cps_ir/mutable_ssa.dart View 1 2 1 chunk +252 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/optimizers.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 14 chunks +27 lines, -27 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/task.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
asgerf
5 years, 5 months ago (2015-07-13 13:46:58 UTC) #2
karlklose
LGTM. Could you add a small test to the js_backend_cps_ir... unit tests? https://codereview.chromium.org/1234753003/diff/20001/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart File pkg/compiler/lib/src/cps_ir/mutable_ssa.dart ...
5 years, 5 months ago (2015-07-14 08:39:45 UTC) #3
asgerf
Added two tests that rely on mutable variable elimination and are generally nice basic tests ...
5 years, 5 months ago (2015-07-14 09:00:22 UTC) #4
asgerf
5 years, 5 months ago (2015-07-14 09:19:02 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
562825e1610f59acf86bf13d91abee3e797c997e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698