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

Issue 1457383003: Alternative fix for the js-interop crash. (Closed)

Created:
5 years, 1 month ago by Siggi Cherem (dart-lang)
Modified:
5 years ago
Reviewers:
sra1
CC:
reviews_dartlang.org, Jacob
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : cl review #

Patch Set 4 : include allocation-effects of native types (if declared) #

Total comments: 3

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+641 lines, -54 lines) Patch
M pkg/compiler/lib/src/apiimpl.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/commandline_options.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/dart2js.dart View 1 3 chunks +9 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_interop_analysis.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/native/behavior.dart View 1 2 3 4 3 chunks +58 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 3 3 chunks +36 lines, -24 lines 0 comments Download
M tests/compiler/dart2js/compiler_helper.dart View 1 7 chunks +15 lines, -5 lines 0 comments Download
A tests/compiler/dart2js/interop_anonymous_unreachable_test.dart View 1 2 3 1 chunk +177 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M tests/compiler/dart2js_extra/dart2js_extra.status View 1 chunk +0 lines, -1 line 0 comments Download
D tests/compiler/dart2js_extra/interop_anonymous_unreachable_test.dart View 1 chunk +0 lines, -14 lines 0 comments Download
M tests/html/html.status View 1 2 chunks +2 lines, -3 lines 0 comments Download
A tests/html/js_typed_interop_anonymous2_exp_test.dart View 1 1 chunk +52 lines, -0 lines 0 comments Download
A tests/html/js_typed_interop_anonymous2_test.dart View 1 chunk +48 lines, -0 lines 0 comments Download
A tests/html/js_typed_interop_anonymous_exp_test.dart View 1 1 chunk +36 lines, -0 lines 0 comments Download
A tests/html/js_typed_interop_anonymous_test.dart View 1 chunk +32 lines, -0 lines 0 comments Download
A tests/html/js_typed_interop_anonymous_unreachable_exp_test.dart View 1 1 chunk +34 lines, -0 lines 0 comments Download
A tests/html/js_typed_interop_anonymous_unreachable_test.dart View 1 1 chunk +30 lines, -0 lines 0 comments Download
A tests/html/js_typed_interop_side_cast_exp_test.dart View 1 1 chunk +53 lines, -0 lines 0 comments Download
A tests/html/js_typed_interop_side_cast_test.dart View 1 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Siggi Cherem (dart-lang)
5 years, 1 month ago (2015-11-20 01:48:26 UTC) #4
sra1
https://chromiumcodereview.appspot.com/1457383003/diff/40001/pkg/compiler/lib/src/native/behavior.dart File pkg/compiler/lib/src/native/behavior.dart (right): https://chromiumcodereview.appspot.com/1457383003/diff/40001/pkg/compiler/lib/src/native/behavior.dart#newcode656 pkg/compiler/lib/src/native/behavior.dart:656: backend.helpers.jsJavaScriptObjectClass.thisType); It does seem crazy to do this for ...
5 years, 1 month ago (2015-11-20 19:06:24 UTC) #5
Siggi Cherem (dart-lang)
PTAL I think we should still go the conservative route for now (this CL). The ...
5 years ago (2015-11-25 21:15:26 UTC) #7
Siggi Cherem (dart-lang)
Finally ready for another look. The new behavior matches more closely what Stephen suggested for ...
5 years ago (2015-11-26 04:09:10 UTC) #9
Siggi Cherem (dart-lang)
PTAL: made the final changes to include native types. All tests are passing now. https://codereview.chromium.org/1457383003/diff/160001/pkg/compiler/lib/src/ssa/builder.dart ...
5 years ago (2015-12-01 00:22:16 UTC) #11
sra1
lgtm https://codereview.chromium.org/1457383003/diff/160001/pkg/compiler/lib/src/native/behavior.dart File pkg/compiler/lib/src/native/behavior.dart (right): https://codereview.chromium.org/1457383003/diff/160001/pkg/compiler/lib/src/native/behavior.dart#newcode666 pkg/compiler/lib/src/native/behavior.dart:666: behavior._capture(type, compiler.resolution, isInterop: isInterop, break before isInterop
5 years ago (2015-12-01 00:38:07 UTC) #12
Siggi Cherem (dart-lang)
thanks https://codereview.chromium.org/1457383003/diff/160001/pkg/compiler/lib/src/native/behavior.dart File pkg/compiler/lib/src/native/behavior.dart (right): https://codereview.chromium.org/1457383003/diff/160001/pkg/compiler/lib/src/native/behavior.dart#newcode666 pkg/compiler/lib/src/native/behavior.dart:666: behavior._capture(type, compiler.resolution, isInterop: isInterop, On 2015/12/01 00:38:07, sra1 ...
5 years ago (2015-12-01 00:43:54 UTC) #13
Siggi Cherem (dart-lang)
5 years ago (2015-12-01 00:46:19 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:180001) manually as
3fa0cae192dce46aef1c9040e8782702aa1e2d9c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698