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

Issue 1188783002: dart2js cps: Overhaul PullIntoInitializers. (Closed)

Created:
5 years, 6 months ago by asgerf
Modified:
5 years, 5 months 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: Overhaul PullIntoInitializers. Fixes a bug where it would pull impure expressions out of branches. It now uses a slightly more precise analysis to pull more things into the initializer block (but never out of branch). BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/919eadc29db0063bac31bd3b26e00e966ef96f9e

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -177 lines) Patch
M pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart View 1 4 chunks +163 lines, -165 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart View 3 chunks +3 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js_extra/dart2js_extra.status View 1 chunk +0 lines, -1 line 0 comments Download
M tests/lib/lib.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
asgerf
5 years, 6 months ago (2015-06-16 13:38:53 UTC) #2
asgerf
R=karlklose
5 years, 6 months ago (2015-06-17 09:40:50 UTC) #4
Kevin Millikin (Google)
LGTM. https://codereview.chromium.org/1188783002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart File pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart (right): https://codereview.chromium.org/1188783002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart#newcode218 pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart:218: for (int i=0; i<nodes.length; ++i) { Missing spaces ...
5 years, 6 months ago (2015-06-19 11:54:28 UTC) #5
asgerf
https://codereview.chromium.org/1188783002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart File pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart (right): https://codereview.chromium.org/1188783002/diff/1/pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart#newcode218 pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart:218: for (int i=0; i<nodes.length; ++i) { On 2015/06/19 11:54:27, ...
5 years, 6 months ago (2015-06-19 12:08:37 UTC) #6
asgerf
5 years, 6 months ago (2015-06-22 10:26:28 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
919eadc29db0063bac31bd3b26e00e966ef96f9e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698