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

Issue 2289663002: [parser] Hide expression classifiers in parser implementation (Closed)

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

Description

[parser] Hide expression classifiers in parser implementation This patch removes the explicit classifier parameters from all parsing methods and makes expression classifiers implicit in the (pre)parser's implementation. In this way, the implementation is simplified and a proper stack of classifiers is enforced. R=adamk@chromium.org,littledan@chromium.org BUG= LOG=N Committed: https://crrev.com/9d818bea602b7d56aaaffc5cb64b49b98890332c Cr-Commit-Position: refs/heads/master@{#39068}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simpler and better version #

Total comments: 9

Patch Set 3 : Change after reviewers' comments #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+530 lines, -571 lines) Patch
M src/parsing/expression-classifier.h View 1 2 7 chunks +37 lines, -18 lines 0 comments Download
M src/parsing/parser.h View 1 2 3 7 chunks +8 lines, -16 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 23 chunks +46 lines, -60 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 94 chunks +399 lines, -411 lines 0 comments Download
M src/parsing/preparser.h View 1 2 3 6 chunks +4 lines, -19 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 3 15 chunks +36 lines, -47 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
nickie
https://codereview.chromium.org/2289663002/diff/1/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2289663002/diff/1/src/parsing/parser-base.h#newcode1255 src/parsing/parser-base.h:1255: // TODO(nikolaos): This looks horrible, let's see about it... ...
4 years, 3 months ago (2016-08-29 10:34:37 UTC) #3
nickie
The perf bots seem to produce the regular random results for this... :-)
4 years, 3 months ago (2016-08-29 11:50:59 UTC) #6
Dan Ehrenberg
lgtm Looks great. I'm somewhat surprised that we seem to have already been following this ...
4 years, 3 months ago (2016-08-29 20:27:01 UTC) #12
nickie
On 2016/08/29 20:27:01, Dan Ehrenberg wrote: > lgtm > > Looks great. I'm somewhat surprised ...
4 years, 3 months ago (2016-08-30 07:51:41 UTC) #13
nickie
https://codereview.chromium.org/2289663002/diff/20001/src/parsing/expression-classifier.h File src/parsing/expression-classifier.h (left): https://codereview.chromium.org/2289663002/diff/20001/src/parsing/expression-classifier.h#oldcode85 src/parsing/expression-classifier.h:85: } We probably should add, at the bottom of ...
4 years, 3 months ago (2016-08-30 09:30:15 UTC) #14
adamk
This mostly looks good, but the naming question around ParseExpressionNoWrap is something I'd like to ...
4 years, 3 months ago (2016-08-30 22:24:52 UTC) #15
nickie
https://codereview.chromium.org/2289663002/diff/20001/src/parsing/expression-classifier.h File src/parsing/expression-classifier.h (left): https://codereview.chromium.org/2289663002/diff/20001/src/parsing/expression-classifier.h#oldcode85 src/parsing/expression-classifier.h:85: } On 2016/08/30 09:30:15, nickie wrote: > We probably ...
4 years, 3 months ago (2016-08-31 08:19:53 UTC) #16
adamk
lgtm (once the new patch is uploaded, with the discussed name change; I don't see ...
4 years, 3 months ago (2016-08-31 18:15:22 UTC) #17
nickie
On 2016/08/31 18:15:22, adamk wrote: > lgtm (once the new patch is uploaded, with the ...
4 years, 3 months ago (2016-09-01 07:43:00 UTC) #18
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/2289663002/40001
4 years, 3 months ago (2016-09-01 07:52:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/7722) v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-01 07:53:49 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/2289663002/60001
4 years, 3 months ago (2016-09-01 08:36:41 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-01 08:58:20 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 08:58:58 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9d818bea602b7d56aaaffc5cb64b49b98890332c
Cr-Commit-Position: refs/heads/master@{#39068}

Powered by Google App Engine
This is Rietveld 408576698