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

Issue 2669163002: [parser] Skipping inner funcs: produce the same scopes / variables for (some) loops. (Closed)

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

Description

[parser] Skipping inner funcs: produce the same scopes / variables for (some) loops. Turns out is_hidden is not the right condition for "scope should be present in the preparse data". For now, replaced it with "is hidden leaf scope" (i.e., doesn't contain any non-hidden scopes). That's probably not the right condition either; will be fixed once there's more data to decide what the right condition is. BUG=v8:5516 R=vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2669163002 Cr-Commit-Position: refs/heads/master@{#42909} Committed: https://chromium.googlesource.com/v8/v8/+/b04d1d0ec6de2396e98b0bfa3db320c90e6410dd

Patch Set 1 #

Total comments: 4

Patch Set 2 : code review (vogelheim@) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -3 lines) Patch
M src/parsing/parser.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/parsing/parser-base.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/parsing/preparser.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/parsing/preparser.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 4 chunks +34 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (9 generated)
marja
vogelheim@, ptal verwaest@, adamk@, fyi
3 years, 10 months ago (2017-02-02 10:12:51 UTC) #3
vogelheim
lgtm https://codereview.chromium.org/2669163002/diff/1/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/2669163002/diff/1/test/cctest/test-parsing.cc#newcode8838 test/cctest/test-parsing.cc:8838: // True if the scope is hidden and ...
3 years, 10 months ago (2017-02-02 18:28:56 UTC) #7
marja
thanks for review! https://codereview.chromium.org/2669163002/diff/1/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/2669163002/diff/1/test/cctest/test-parsing.cc#newcode8838 test/cctest/test-parsing.cc:8838: // True if the scope is ...
3 years, 10 months ago (2017-02-03 06:48:59 UTC) #8
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/2669163002/20001
3 years, 10 months ago (2017-02-03 06:49:37 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 07:14:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/b04d1d0ec6de2396e98b0bfa3db320c90e6...

Powered by Google App Engine
This is Rietveld 408576698