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

Issue 2321103002: [parser] Refactor of Parse*Statement*, part 5 (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 5 This patch moves the following parsing methods to ParserBase: - ParseDoExpression - ParseDoWhileStatement - ParseWhileStatement - ParseThrowStatement R=adamk@chromium.org, marja@chromium.org BUG= LOG=N Committed: https://crrev.com/bf85ca531510879c77b3fd707d498ada9677cb74 Cr-Commit-Position: refs/heads/master@{#39326}

Patch Set 1 : Just moving code (broken) #

Patch Set 2 : The real patch #

Total comments: 4

Patch Set 3 : Change after reviewers' comments #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -159 lines) Patch
M src/parsing/parser.h View 1 2 3 4 chunks +6 lines, -7 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 4 chunks +10 lines, -83 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 7 chunks +88 lines, -4 lines 0 comments Download
M src/parsing/preparser.h View 1 2 3 5 chunks +21 lines, -6 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 3 3 chunks +0 lines, -56 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/DoExpression.golden View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
nickie
4 years, 3 months ago (2016-09-08 16:27:03 UTC) #1
nickie
The bytecode expectation had to change because now the new temporary for the do expression ...
4 years, 3 months ago (2016-09-08 16:34:26 UTC) #2
adamk
https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h File src/parsing/parser.h (right): https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h#newcode409 src/parsing/parser.h:409: if (loop != nullptr) loop->Initialize(cond, body); I don't understand, ...
4 years, 3 months ago (2016-09-08 18:44:47 UTC) #7
nickie
BTW, this CL needs rebasing, that's why the bots failed. https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h File src/parsing/parser.h (right): https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h#newcode409 ...
4 years, 3 months ago (2016-09-09 09:43:37 UTC) #8
marja
lgtm modulo the ongoing discussions w/ adamk@
4 years, 3 months ago (2016-09-09 10:48:03 UTC) #9
adamk
lgtm once InitializeLoop is gone. https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h File src/parsing/parser.h (right): https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h#newcode409 src/parsing/parser.h:409: if (loop != nullptr) ...
4 years, 3 months ago (2016-09-09 17:21:06 UTC) #10
nickie
https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h File src/parsing/parser.h (right): https://codereview.chromium.org/2321103002/diff/20001/src/parsing/parser.h#newcode409 src/parsing/parser.h:409: if (loop != nullptr) loop->Initialize(cond, body); On 2016/09/09 17:21:06, ...
4 years, 3 months ago (2016-09-10 17:41:04 UTC) #11
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/2321103002/60001
4 years, 3 months ago (2016-09-10 17:41:22 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-10 18:05:00 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-10 18:05:35 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bf85ca531510879c77b3fd707d498ada9677cb74
Cr-Commit-Position: refs/heads/master@{#39326}

Powered by Google App Engine
This is Rietveld 408576698