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

Issue 2650703003: [parser]: Skipping inner funcs / initial implemetation of storing scope analysis data from preparse… (Closed)

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

Description

[parser]: Skipping inner funcs / initial implemetation of storing scope analysis data from preparsed scopes. The data produced at the moment only contains information about scope type + positions, and only the most trivial tests pass. Upcoming CLs will extend the data to contain information about variables (once PreParser can produce it) and add more test cases. BUG=v8:5516 Review-Url: https://codereview.chromium.org/2650703003 Cr-Commit-Position: refs/heads/master@{#42656} Committed: https://chromium.googlesource.com/v8/v8/+/6053f4a331ac7700cd63eb35e3ba2afb0b51930f

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : mindiff #

Patch Set 4 : rebased #

Patch Set 5 : bugfixes + tests #

Total comments: 16

Patch Set 6 : code review (vogelheim) #

Total comments: 13

Patch Set 7 : code review (jochen@) #

Patch Set 8 : rebased - argh, forced to format build.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -12 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 3 chunks +7 lines, -8 lines 0 comments Download
M src/ast/scopes.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -1 line 0 comments Download
M src/ast/scopes.cc View 1 2 3 4 5 6 7 4 chunks +21 lines, -1 line 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M src/parsing/parse-info.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -0 lines 0 comments Download
M src/parsing/parser.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
A src/parsing/preparsed-scope-data.h View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A src/parsing/preparsed-scope-data.cc View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
M src/v8.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 5 6 7 2 chunks +116 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
marja
neis, ptal verwaest, adamk, fyi
3 years, 11 months ago (2017-01-24 10:50:24 UTC) #5
marja
ptal
3 years, 11 months ago (2017-01-25 09:20:28 UTC) #11
vogelheim
lgtm (Just for my understanding: This currently only collects data, and doesn't yet do anything ...
3 years, 11 months ago (2017-01-25 10:00:18 UTC) #12
vogelheim
lgtm (Just for my understanding: This currently only collects data, and doesn't yet do anything ...
3 years, 11 months ago (2017-01-25 10:00:22 UTC) #13
marja
Thanks for review! Yes, this currently just collects scope positions, and checks it in the ...
3 years, 11 months ago (2017-01-25 10:21:26 UTC) #14
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/2650703003/100001
3 years, 11 months ago (2017-01-25 10:53:07 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/15836) v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-25 10:54:17 UTC) #19
jochen (gone - plz use gerrit)
lgtm with nits https://codereview.chromium.org/2650703003/diff/100001/src/parsing/preparsed-scope-data.cc File src/parsing/preparsed-scope-data.cc (right): https://codereview.chromium.org/2650703003/diff/100001/src/parsing/preparsed-scope-data.cc#newcode19 src/parsing/preparsed-scope-data.cc:19: ++previous_scope_->inner_scope_count_; inner_scope_count_ is just one-level down, ...
3 years, 11 months ago (2017-01-25 11:16:01 UTC) #21
marja
thanks for review since the "parseinfo owns zone" stuff got reverted, i need to rebase ...
3 years, 11 months ago (2017-01-25 11:50:29 UTC) #22
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2650703003/diff/100001/src/parsing/preparsed-scope-data.cc File src/parsing/preparsed-scope-data.cc (right): https://codereview.chromium.org/2650703003/diff/100001/src/parsing/preparsed-scope-data.cc#newcode19 src/parsing/preparsed-scope-data.cc:19: ++previous_scope_->inner_scope_count_; On 2017/01/25 at 11:50:28, marja wrote: > On ...
3 years, 11 months ago (2017-01-25 12:01:22 UTC) #23
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/2650703003/140001
3 years, 11 months ago (2017-01-25 12:23:10 UTC) #26
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 13:03:26 UTC) #29
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/v8/v8/+/6053f4a331ac7700cd63eb35e3ba2afb0b5...

Powered by Google App Engine
This is Rietveld 408576698