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

Issue 1287253002: dart2js cps: Compile some loops as 'for' loops. (Closed)

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

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments #

Patch Set 3 : Merge (with change for nullable operators) #

Patch Set 4 : Revert+Unrevert #

Patch Set 5 : Update test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -54 lines) Patch
M pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 1 2 chunks +47 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart View 1 3 4 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart View 1 4 chunks +72 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/variable_merger.dart View 1 1 chunk +5 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_integrity.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart View 1 8 chunks +23 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart View 1 2 chunks +4 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart View 1 2 3 4 4 chunks +3 lines, -7 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart View 1 2 3 4 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
asgerf
5 years, 4 months ago (2015-08-13 09:15:22 UTC) #2
Kevin Millikin (Google)
GLTM. https://codereview.chromium.org/1287253002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart File pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart (right): https://codereview.chromium.org/1287253002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart#newcode182 pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart:182: int assignIndex = 0; Seems kind of tricky ...
5 years, 4 months ago (2015-08-13 11:32:48 UTC) #3
Kevin Millikin (Google)
LGTM also.
5 years, 4 months ago (2015-08-13 11:33:05 UTC) #4
asgerf
https://codereview.chromium.org/1287253002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart File pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart (right): https://codereview.chromium.org/1287253002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart#newcode182 pkg/compiler/lib/src/tree_ir/optimization/loop_rewriter.dart:182: int assignIndex = 0; On 2015/08/13 11:32:47, Kevin Millikin ...
5 years, 4 months ago (2015-08-13 12:06:42 UTC) #5
asgerf
Committed patchset #3 (id:40001) manually as 296cb0b5b45575f9e32acd2cbad2b8969e56cb77 (presubmit successful).
5 years, 4 months ago (2015-08-14 10:09:36 UTC) #6
asgerf
5 years, 4 months ago (2015-08-17 08:52:40 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
01844e7bb01d0c2eff1ef6301b0859eeda1222e0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698