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

Issue 2323763002: [parser] Refactor of Parse*Statement*, part 4 (Closed)

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

Description

[parser] Refactor of Parse*Statement*, part 4 This patch moves the following parsing methods to ParserBase: - ParseExpressionOrLabelledStatement - ParseIfStatement - ParseContinueStatement - ParseBreakStatement - ParseReturnStatement - ParseWithStatement R=adamk@chromium.org, marja@chromium.org BUG= LOG=N Committed: https://crrev.com/40ba1db51fc4dac7918580111fca857bc0de0ba3 Cr-Commit-Position: refs/heads/master@{#39325}

Patch Set 1 : Just moving code (broken) #

Patch Set 2 : The real patch #

Total comments: 16

Patch Set 3 : Change after reviewers' comments #

Patch Set 4 : Last changes #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -523 lines) Patch
M src/parsing/parser.h View 1 2 3 4 9 chunks +30 lines, -20 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 4 2 chunks +77 lines, -306 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 4 10 chunks +262 lines, -13 lines 0 comments Download
M src/parsing/preparser.h View 1 2 3 4 15 chunks +108 lines, -15 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 3 4 1 chunk +0 lines, -169 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
nickie
4 years, 3 months ago (2016-09-08 13:43:17 UTC) #1
adamk
https://codereview.chromium.org/2323763002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2323763002/diff/20001/src/parsing/parser-base.h#newcode4372 src/parsing/parser-base.h:4372: labels = impl()->DeclareLabel(labels, expr, CHECK_OK); Can you add an ...
4 years, 3 months ago (2016-09-08 18:33:20 UTC) #6
marja
Q: why do we need to care about IsJumpStatement in the PreParser? https://codereview.chromium.org/2323763002/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc ...
4 years, 3 months ago (2016-09-09 08:45:00 UTC) #7
nickie
https://codereview.chromium.org/2323763002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2323763002/diff/20001/src/parsing/parser-base.h#newcode4372 src/parsing/parser-base.h:4372: labels = impl()->DeclareLabel(labels, expr, CHECK_OK); On 2016/09/08 18:33:19, adamk ...
4 years, 3 months ago (2016-09-09 09:42:27 UTC) #8
marja
LGTM Re: IsNullOrEmpty, maybe IsNull || IsEmpty is cleaner
4 years, 3 months ago (2016-09-09 10:41:29 UTC) #9
nickie
On 2016/09/09 08:45:00, marja wrote: > Q: why do we need to care about IsJumpStatement ...
4 years, 3 months ago (2016-09-09 10:42:15 UTC) #10
adamk
lgtm https://codereview.chromium.org/2323763002/diff/20001/src/parsing/parser.h File src/parsing/parser.h (right): https://codereview.chromium.org/2323763002/diff/20001/src/parsing/parser.h#newcode640 src/parsing/parser.h:640: return operand != nullptr && !operand->is_this(); On 2016/09/09 ...
4 years, 3 months ago (2016-09-09 17:14:47 UTC) #11
nickie
On 2016/09/09 10:41:29, marja wrote: > Re: IsNullOrEmpty, maybe IsNull || IsEmpty is cleaner OK, ...
4 years, 3 months ago (2016-09-10 16:09:54 UTC) #12
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/2323763002/60001
4 years, 3 months ago (2016-09-10 16:19:30 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/3964) v8_linux_gcc_compile_rel on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-10 16:20:41 UTC) #17
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/2323763002/80001
4 years, 3 months ago (2016-09-10 16:40:28 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-10 17:04:59 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-10 17:05:44 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/40ba1db51fc4dac7918580111fca857bc0de0ba3
Cr-Commit-Position: refs/heads/master@{#39325}

Powered by Google App Engine
This is Rietveld 408576698