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

Issue 1094453006: Support rethrow in the dart2js JS backend. (Closed)

Created:
5 years, 8 months ago by Kevin Millikin (Google)
Modified:
5 years, 8 months ago
Reviewers:
karlklose, floitsch
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Support rethrow in the dart2js JS backend. The approach is simple: translate rethrow to a throw of the enclosing catch block's JS exception. There is already an assert that the JS backend does not see rethrow at code generation time. R=karlklose@google.com, floitsch@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=45397

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -6 lines) Patch
M pkg/compiler/lib/src/js_backend/codegen/unsugar.dart View 4 chunks +32 lines, -5 lines 0 comments Download
M tests/language/language_dart2js.status View 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 4 (1 generated)
Kevin Millikin (Google)
5 years, 8 months ago (2015-04-23 12:06:58 UTC) #1
karlklose
LGTM. https://codereview.chromium.org/1094453006/diff/1/tests/language/language_dart2js.status File tests/language/language_dart2js.status (left): https://codereview.chromium.org/1094453006/diff/1/tests/language/language_dart2js.status#oldcode822 tests/language/language_dart2js.status:822: deferred_in_isolate_test: Crash # (rethrow;): Unhandled node Are there ...
5 years, 8 months ago (2015-04-23 12:43:22 UTC) #3
Kevin Millikin (Google)
5 years, 8 months ago (2015-04-24 11:23:17 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 45397 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698