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

Issue 2617923003: PreParsing inner funcs: make scope analysis more complete. (Closed)

Created:
3 years, 11 months ago by marja
Modified:
3 years, 11 months ago
Reviewers:
adamk
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

PreParsing inner funcs: make scope analysis more complete. This adds tracking the following: - Declarations created by catch (potentially destructuring) - Declarations created by for-each (potentially destructuring) - Class declarations BUG=v8:5501, v8:5516 Review-Url: https://codereview.chromium.org/2617923003 Cr-Commit-Position: refs/heads/master@{#42129} Committed: https://chromium.googlesource.com/v8/v8/+/d17558bc491eed6bbba71da5b05851935a6773a1

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -51 lines) Patch
M src/ast/scopes.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M src/parsing/parser.cc View 1 chunk +1 line, -0 lines 1 comment Download
M src/parsing/preparser.h View 3 chunks +32 lines, -2 lines 2 comments Download
M test/cctest/test-parsing.cc View 1 chunk +60 lines, -46 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (5 generated)
marja
adamk, ptal I'll be online later today if you'd like to discuss this. https://codereview.chromium.org/2617923003/diff/1/src/parsing/parser.cc File ...
3 years, 11 months ago (2017-01-06 15:44:30 UTC) #2
adamk
lgtm Can you add more to the CL description saying which things improve with this ...
3 years, 11 months ago (2017-01-06 19:05:04 UTC) #3
marja
Thanks for reviewing! Yeah, the catch variable handling is a bit odd all over - ...
3 years, 11 months ago (2017-01-09 08:29:30 UTC) #5
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/2617923003/1
3 years, 11 months ago (2017-01-09 08:57:00 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 09:41:59 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/d17558bc491eed6bbba71da5b05851935a6...

Powered by Google App Engine
This is Rietveld 408576698