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

Issue 1366673003: dart2js: fix for https://github.com/dart-lang/sdk/issues/24412 (Closed)

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

Description

dart2js: fix for https://github.com/dart-lang/sdk/issues/24412 The regression on some benchmarks was caused by UnknownJavaScriptObject becoming alive. Changing the test to 'is' reverts the regression. Also make the cps_ir register UnknownJavaScriptObject when generating try-catch as that might snag a JavaScript error. BUG= https://github.com/dart-lang/sdk/issues/24412 R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/0bd5cc5f705339cd4f148a924abbb8a6f3f9127a Reverted. Moved to: https://codereview.chromium.org/1363183003

Patch Set 1 #

Total comments: 4

Patch Set 2 : delete whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -4 lines) Patch
M pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 1 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/glue.dart View 1 1 chunk +5 lines, -0 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 4 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
sra1
5 years, 3 months ago (2015-09-23 18:35:15 UTC) #2
asgerf
The fix LGTM although I am concerned that we will now get a case for ...
5 years, 3 months ago (2015-09-23 19:26:40 UTC) #3
sra1
https://codereview.chromium.org/1366673003/diff/1/pkg/compiler/lib/src/js_backend/codegen/codegen.dart File pkg/compiler/lib/src/js_backend/codegen/codegen.dart (right): https://codereview.chromium.org/1366673003/diff/1/pkg/compiler/lib/src/js_backend/codegen/codegen.dart#newcode648 pkg/compiler/lib/src/js_backend/codegen/codegen.dart:648: register(glue.jsUnknownJavaScriptObjectClass); On 2015/09/23 19:26:40, asgerf wrote: > I get ...
5 years, 3 months ago (2015-09-24 00:24:45 UTC) #4
sra1
Committed patchset #2 (id:20001) manually as 0bd5cc5f705339cd4f148a924abbb8a6f3f9127a (presubmit successful).
5 years, 3 months ago (2015-09-24 00:27:29 UTC) #5
sra1
5 years, 3 months ago (2015-09-24 01:14:26 UTC) #6
Message was sent while issue was closed.
I have revert this and will redo as: https://codereview.chromium.org/1363183003

Powered by Google App Engine
This is Rietveld 408576698