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

Issue 2307073002: [parser] Refactor of Parse*Statement*, part 1 (Closed)

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

Description

[parser] Refactor of Parse*Statement*, part 1 This patch moves the following parsing methods to ParserBase: - ParseStatementList - ParseStatementListItem - ParseStatement - ParseSubStatement (subsumed in ParseStatement) - ParseStatementAsUnlabeled It also refactors the Target and TargetScope objects, used by the parser. R=adamk@chromium.org, marja@chromium.org BUG= LOG=N Committed: https://crrev.com/df29f3fda25660075a273cc27ad9f7787f321072 Committed: https://crrev.com/f30075bb7014b69ecb931aad1c3467e88dd2f887 Cr-Original-Commit-Position: refs/heads/master@{#39167} Cr-Commit-Position: refs/heads/master@{#39175}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Change according to reviewers' comments #

Patch Set 3 : Fix weird compilation bug with line continuation in comment #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+534 lines, -588 lines) Patch
M src/parsing/parser.h View 1 8 chunks +42 lines, -17 lines 0 comments Download
M src/parsing/parser.cc View 16 chunks +36 lines, -294 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 6 chunks +298 lines, -1 line 1 comment Download
M src/parsing/preparser.h View 18 chunks +119 lines, -35 lines 0 comments Download
M src/parsing/preparser.cc View 21 chunks +39 lines, -241 lines 0 comments Download

Messages

Total messages: 43 (21 generated)
nickie
4 years, 3 months ago (2016-09-02 16:21:27 UTC) #1
adamk
I find this CL very hard to review, since it'd basically involve manually diffing between ...
4 years, 3 months ago (2016-09-02 17:58:24 UTC) #6
adamk
basically rubberstamp lgtm if this is indeed just a copy (the Target stuff is fine)
4 years, 3 months ago (2016-09-02 17:58:44 UTC) #7
nickie
On 2016/09/02 17:58:24, adamk wrote: > I find this CL very hard to review, since ...
4 years, 3 months ago (2016-09-04 12:54:20 UTC) #8
marja
lgtm % comments https://codereview.chromium.org/2307073002/diff/1/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2307073002/diff/1/src/parsing/parser-base.h#newcode1191 src/parsing/parser-base.h:1191: static const int kLazyParseTrialLimit = 200; ...
4 years, 3 months ago (2016-09-05 08:14:33 UTC) #9
nickie
I'm landing this and I'm also cc:ing Dan, because of three TODO comments related to ...
4 years, 3 months ago (2016-09-05 11:29:32 UTC) #10
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/2307073002/20001
4 years, 3 months ago (2016-09-05 12:40:15 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-05 12:52:54 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/df29f3fda25660075a273cc27ad9f7787f321072 Cr-Commit-Position: refs/heads/master@{#39167}
4 years, 3 months ago (2016-09-05 12:53:07 UTC) #20
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/2307073002/40001
4 years, 3 months ago (2016-09-05 12:59:15 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: v8_android_arm_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/23906) v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-05 13:00:24 UTC) #26
Michael Achenbach
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2313703002/ by machenbach@chromium.org. ...
4 years, 3 months ago (2016-09-05 13:05:51 UTC) #28
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/2307073002/60001
4 years, 3 months ago (2016-09-05 13:09:47 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-09-05 13:42:05 UTC) #33
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f30075bb7014b69ecb931aad1c3467e88dd2f887 Cr-Commit-Position: refs/heads/master@{#39175}
4 years, 3 months ago (2016-09-05 13:42:51 UTC) #35
Dan Ehrenberg
Lgtm; I think the TODOs about language mode can be deleted. https://codereview.chromium.org/2307073002/diff/60001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): ...
4 years, 3 months ago (2016-09-06 16:57:03 UTC) #37
nickie
On 2016/09/06 16:57:03, Dan Ehrenberg wrote: > Lgtm; I think the TODOs about language mode ...
4 years, 3 months ago (2016-09-08 08:58:37 UTC) #38
nickie
On 2016/09/08 08:58:37, nickie wrote: > I don't know the logic of usage counters but ...
4 years, 3 months ago (2016-09-16 10:38:47 UTC) #39
Dan Ehrenberg
On 2016/09/16 at 10:38:47, nikolaos wrote: > On 2016/09/08 08:58:37, nickie wrote: > > I ...
4 years, 3 months ago (2016-09-16 11:49:28 UTC) #40
nickie
On 2016/09/16 11:49:28, Dan Ehrenberg wrote: > I explained in the previous comment the logic ...
4 years, 3 months ago (2016-09-16 12:01:51 UTC) #41
Dan Ehrenberg
On 2016/09/16 at 12:01:51, nikolaos wrote: > On 2016/09/16 11:49:28, Dan Ehrenberg wrote: > > ...
4 years, 3 months ago (2016-09-16 12:06:58 UTC) #42
nickie
4 years, 3 months ago (2016-09-16 12:15:46 UTC) #43
Message was sent while issue was closed.
On 2016/09/16 12:06:58, Dan Ehrenberg wrote:
> The counter is only collected for zero/nonzero purposes; over counting does
not
> matter.

OK, I'm removing the TODO comments then.
Thanks Dan for seeing this.

Powered by Google App Engine
This is Rietveld 408576698