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

Issue 2339453002: [parser] Refactor of Parse*Statement*, part 7 (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 7 This patch moves the following parsing method to ParserBase: - ParseTryStatement R=adamk@chromium.org, marja@chromium.org BUG= LOG=N Committed: https://crrev.com/7b2297c90d65163d93fc6a65fd7ec4d5d2456ea6 Cr-Commit-Position: refs/heads/master@{#39467}

Patch Set 1 : Just moving code (broken) #

Patch Set 2 : The real patch #

Total comments: 9

Patch Set 3 : Change after reviewers' comments #

Total comments: 2

Patch Set 4 : Change in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -234 lines) Patch
M src/parsing/parser.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M src/parsing/parser.cc View 1 2 1 chunk +66 lines, -162 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 4 chunks +132 lines, -1 line 0 comments Download
M src/parsing/preparser.h View 1 2 4 chunks +9 lines, -3 lines 0 comments Download
M src/parsing/preparser.cc View 1 chunk +0 lines, -66 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
nickie
4 years, 3 months ago (2016-09-13 13:37:32 UTC) #1
nickie
https://codereview.chromium.org/2339453002/diff/20001/src/parsing/parser.h File src/parsing/parser.h (left): https://codereview.chromium.org/2339453002/diff/20001/src/parsing/parser.h#oldcode377 src/parsing/parser.h:377: Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); Also, this declaration is ...
4 years, 3 months ago (2016-09-14 08:14:04 UTC) #6
marja
Initial comments (will have a more detailed look later): Q: does this unify the languages ...
4 years, 3 months ago (2016-09-14 09:58:09 UTC) #7
marja
This was more tedious to review than the previous ones, but I think I checked ...
4 years, 3 months ago (2016-09-14 10:07:00 UTC) #8
nickie
On 2016/09/14 09:58:09, marja wrote: > Initial comments (will have a more detailed look later): ...
4 years, 3 months ago (2016-09-14 10:08:15 UTC) #9
nickie
https://codereview.chromium.org/2339453002/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2339453002/diff/20001/src/parsing/parser.cc#newcode1788 src/parsing/parser.cc:1788: void Parser::RewriteCatchPattern(CatchInfo* catch_info, bool* ok) { On 2016/09/14 10:06:59, ...
4 years, 3 months ago (2016-09-14 10:19:09 UTC) #10
marja
https://codereview.chromium.org/2339453002/diff/20001/src/parsing/preparser.h File src/parsing/preparser.h (right): https://codereview.chromium.org/2339453002/diff/20001/src/parsing/preparser.h#newcode953 src/parsing/preparser.h:953: bool* ok) { On 2016/09/14 10:19:09, nickie wrote: > ...
4 years, 3 months ago (2016-09-14 11:00:27 UTC) #11
nickie
Unless Adam has something else, there's just the thing with method Parser::RewriteCatchPattern (see comment): its ...
4 years, 3 months ago (2016-09-14 11:43:08 UTC) #12
marja
lgtm (We can always move the catch variable declaration closer to base if we need ...
4 years, 3 months ago (2016-09-14 11:45:32 UTC) #13
adamk
One question, otherwise this works for me (it's pretty ugly, but I don't have good ...
4 years, 3 months ago (2016-09-15 18:32:07 UTC) #18
adamk
Oh, and lgtm, since my question is just about a TODO
4 years, 3 months ago (2016-09-15 18:32:28 UTC) #19
nickie
It is ugly, but wait until you see the for statement... :-) https://codereview.chromium.org/2339453002/diff/40001/src/parsing/parser-base.h File src/parsing/parser-base.h ...
4 years, 3 months ago (2016-09-16 08:23:01 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/2339453002/60001
4 years, 3 months ago (2016-09-16 08:46:40 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-16 09:12:19 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 09:12:50 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7b2297c90d65163d93fc6a65fd7ec4d5d2456ea6
Cr-Commit-Position: refs/heads/master@{#39467}

Powered by Google App Engine
This is Rietveld 408576698