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

Issue 1335273003: dart2js cps: Remove code after calls that cannot return. (Closed)

Created:
5 years, 3 months ago by asgerf
Modified:
5 years, 3 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: Remove code after calls that cannot return. This should resolve an outstanding issue with unreachable code being transformed. A subterm in the unreachable code would get specialized and then reanalyzed while some of the definitions in scope have no type. This changes a lot of test case results. Some test results have changed in very surprising ways, but I would argue these are separate bugs that we should hunt down. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/19cb08fa050f765ccb67fd68f6e32b543a151d0b

Patch Set 1 #

Patch Set 2 : Revert change to SExpression stringifier #

Total comments: 4

Patch Set 3 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -111 lines) Patch
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 8 chunks +30 lines, -63 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart View 3 chunks +18 lines, -7 lines 0 comments Download
M tests/compiler/dart2js_extra/dart2js_extra.status View 1 chunk +4 lines, -6 lines 0 comments Download
M tests/isolate/isolate.status View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language_dart2js.status View 1 2 4 chunks +31 lines, -29 lines 0 comments Download
M tests/lib/lib.status View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/standalone/standalone.status View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
asgerf
The status files includes the 4 lines that were currently red on master. We could ...
5 years, 3 months ago (2015-09-15 13:31:05 UTC) #2
Kevin Millikin (Google)
LGTM. https://codereview.chromium.org/1335273003/diff/20001/tests/co19/co19-dart2js.status File tests/co19/co19-dart2js.status (right): https://codereview.chromium.org/1335273003/diff/20001/tests/co19/co19-dart2js.status#newcode9581 tests/co19/co19-dart2js.status:9581: +Language/12_Expressions/28_Postfix_Expressions_A01_t05: Crash # Class 'PartialMethodElement' has no instance ...
5 years, 3 months ago (2015-09-15 13:50:10 UTC) #3
asgerf
https://codereview.chromium.org/1335273003/diff/20001/tests/co19/co19-dart2js.status File tests/co19/co19-dart2js.status (right): https://codereview.chromium.org/1335273003/diff/20001/tests/co19/co19-dart2js.status#newcode9581 tests/co19/co19-dart2js.status:9581: +Language/12_Expressions/28_Postfix_Expressions_A01_t05: Crash # Class 'PartialMethodElement' has no instance getter ...
5 years, 3 months ago (2015-09-15 14:06:40 UTC) #4
asgerf
5 years, 3 months ago (2015-09-15 15:46:53 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
19cb08fa050f765ccb67fd68f6e32b543a151d0b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698