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 1901413002: [debugger] Hide scopes that originate from desugaring. (Closed)

Created:
4 years, 8 months ago by Yang
Modified:
4 years, 8 months ago
Reviewers:
kozy, rossberg, adamk
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

[debugger] Hide scopes that originate from desugaring. Some scopes are introduced by the parser for desugaring and do not have any positions associated. The debugger should not make them visible. Also add some missing source positions. R=kozyatinskiy@chromium.org, rossberg@chromium.org BUG=chromium:604458 LOG=Y Committed: https://crrev.com/672983830f36222d90748ff588831b6dae565c38 Cr-Commit-Position: refs/heads/master@{#35721}

Patch Set 1 #

Patch Set 2 : fix test #

Total comments: 1

Patch Set 3 : unhide and fix param initialization block #

Patch Set 4 : improve test #

Patch Set 5 : fix crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -25 lines) Patch
M src/ast/scopes.h View 3 chunks +8 lines, -0 lines 0 comments Download
M src/ast/scopes.cc View 3 chunks +12 lines, -0 lines 0 comments Download
M src/debug/debug-scopes.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 4 6 chunks +7 lines, -2 lines 0 comments Download
M test/mjsunit/debug-scopes.js View 1 1 chunk +1 line, -2 lines 0 comments Download
M test/mjsunit/es6/debug-blockscopes.js View 1 2 7 chunks +4 lines, -17 lines 0 comments Download
A test/mjsunit/es6/debug-scope-default-param-with-eval.js View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download
M test/mjsunit/es6/regress/regress-468661.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
Yang
4 years, 8 months ago (2016-04-20 09:21:09 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901413002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901413002/1
4 years, 8 months ago (2016-04-20 09:21:25 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/427) v8_linux64_avx2_rel_ng_triggered on ...
4 years, 8 months ago (2016-04-20 09:36:37 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901413002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901413002/20001
4 years, 8 months ago (2016-04-20 13:35:18 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-20 13:59:16 UTC) #9
kozy
All DevTools tests are passed, lgtm. Thanks!
4 years, 8 months ago (2016-04-21 00:06:39 UTC) #10
Yang
Andreas or Adam, could you take a look at the src/ast and src/parsing changes? Thanks.
4 years, 8 months ago (2016-04-21 06:48:56 UTC) #12
adamk
Thanks for taking care of my TODOs! https://codereview.chromium.org/1901413002/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1901413002/diff/20001/src/parsing/parser.cc#newcode4392 src/parsing/parser.cc:4392: param_scope->set_is_hidden(); Should ...
4 years, 8 months ago (2016-04-21 19:59:21 UTC) #13
Yang
On 2016/04/21 19:59:21, adamk wrote: > Thanks for taking care of my TODOs! > > ...
4 years, 8 months ago (2016-04-22 07:27:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901413002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901413002/60001
4 years, 8 months ago (2016-04-22 07:39:37 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/573) v8_mac_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-22 07:54:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901413002/80001
4 years, 8 months ago (2016-04-22 09:50:30 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-22 10:46:47 UTC) #23
adamk
lgtm, thanks for the (admittedly ridiculous) test case.
4 years, 8 months ago (2016-04-22 17:31:23 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:15:21 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/672983830f36222d90748ff588831b6dae565c38
Cr-Commit-Position: refs/heads/master@{#35721}

Powered by Google App Engine
This is Rietveld 408576698