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

Issue 2203803002: [debug] Don't notify listener of exceptions internal to a desugaring. (Closed)

Created:
4 years, 4 months ago by neis
Modified:
4 years, 4 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debug] Don't notify listener of exceptions internal to a desugaring. In the parser, we desugar yield* with the help of a regular yield. One particular implementation detail of this desugaring is that when the user calls the generator's throw method, this throws an exception that we immediately catch. This exception should not be visible to the user, but through Devtools' "Pause on Caught Exceptions" feature it used to be. This CL extends the type of catch predictions with a new value for such internal exceptions and uses that for the offending try-catch statement in yield*. It instruments the debugger to _not_ trigger an exception event in that case. R=yangguo@chromium.org TBR=littledan@chromium.org BUG=v8:5218 Committed: https://crrev.com/f813494fcc15497908ac5701e495a5bbc3cf9676 Cr-Commit-Position: refs/heads/master@{#38286}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -11 lines) Patch
M src/ast/ast.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M src/ast/prettyprinter.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug/debug.cc View 1 chunk +4 lines, -1 line 0 comments Download
M src/isolate.h View 1 chunk +6 lines, -1 line 0 comments Download
M src/isolate.cc View 3 chunks +10 lines, -5 lines 0 comments Download
M src/objects.h View 1 1 chunk +7 lines, -3 lines 0 comments Download
M src/parsing/parser.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/debug-exceptions.js View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
neis
4 years, 4 months ago (2016-08-02 15:42:15 UTC) #1
neis
PTAL. This the old CL after removing the Turbofan changes, rebasing, and being more careful ...
4 years, 4 months ago (2016-08-02 15:44:37 UTC) #2
Yang
On 2016/08/02 15:44:37, neis wrote: > PTAL. This the old CL after removing the Turbofan ...
4 years, 4 months ago (2016-08-03 07:30:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2203803002/20001
4 years, 4 months ago (2016-08-03 08:59:50 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_win64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/11738)
4 years, 4 months ago (2016-08-03 09:22:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2203803002/20001
4 years, 4 months ago (2016-08-03 09:29:46 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: v8_win64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/11741)
4 years, 4 months ago (2016-08-03 09:37:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2203803002/20001
4 years, 4 months ago (2016-08-03 11:03:43 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-03 11:26:26 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 11:27:58 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f813494fcc15497908ac5701e495a5bbc3cf9676
Cr-Commit-Position: refs/heads/master@{#38286}

Powered by Google App Engine
This is Rietveld 408576698