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

Issue 1074043003: Compute default throws behavior from JavaScript. (Closed)

Created:
5 years, 8 months ago by sra1
Modified:
5 years, 8 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Compute default throwing behavior from JavaScript. This change removes the heuristic that 'general effects imply may-throw behavior', replacing it with explicit throwing behavior. A new JavaScript AST visitor provides the default throwing behavior. R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=45070

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -66 lines) Patch
M pkg/compiler/lib/src/native/behavior.dart View 4 chunks +31 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/native/js.dart View 1 1 chunk +184 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 11 chunks +51 lines, -43 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 1 1 chunk +21 lines, -14 lines 0 comments Download
M pkg/js_ast/lib/src/builder.dart View 1 chunk +8 lines, -5 lines 0 comments Download
A tests/compiler/dart2js/js_throw_behavior_test.dart View 1 1 chunk +95 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
sra1
5 years, 8 months ago (2015-04-10 02:59:22 UTC) #4
floitsch
LGTM. https://codereview.chromium.org/1074043003/diff/40001/pkg/compiler/lib/src/native/js.dart File pkg/compiler/lib/src/native/js.dart (right): https://codereview.chromium.org/1074043003/diff/40001/pkg/compiler/lib/src/native/js.dart#newcode91 pkg/compiler/lib/src/native/js.dart:91: /// operators are used on 'good' operands thatdo ...
5 years, 8 months ago (2015-04-10 13:34:16 UTC) #5
sra1
https://chromiumcodereview.appspot.com/1074043003/diff/40001/pkg/compiler/lib/src/native/js.dart File pkg/compiler/lib/src/native/js.dart (right): https://chromiumcodereview.appspot.com/1074043003/diff/40001/pkg/compiler/lib/src/native/js.dart#newcode91 pkg/compiler/lib/src/native/js.dart:91: /// operators are used on 'good' operands thatdo not ...
5 years, 8 months ago (2015-04-10 15:57:49 UTC) #6
sra1
5 years, 8 months ago (2015-04-10 16:00:14 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:60001) manually as 45070 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698