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

Issue 252423007: Parser: Introduce StatementList + NewStatementList() (Closed)

Created:
6 years, 8 months ago by aperez
Modified:
6 years, 8 months ago
Reviewers:
rossberg, marja
CC:
v8-dev
Visibility:
Public.

Description

Parser: Introduce StatementList + NewStatementList() Adds new Traits::Type::StatementList definitions both for Parser and PreParser, and the corresponding NewStatementList() factory function. This is needed to be able to define in ParserBase parsing functions that return and manipulate lists of statements. Moving and renaming PreParser::Statement to PreParserStatement is also needed so its definition is available earlier for PreParserStatementList to use it. R=marja@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20965

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added PreParser::Statement typedef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -46 lines) Patch
M src/parser.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/preparser.h View 1 5 chunks +67 lines, -46 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
aperez
Those changes would be needed to implement arrow function parsing, and merged before https://codereview.chromium.org/160073006/
6 years, 8 months ago (2014-04-24 15:28:23 UTC) #1
marja
https://codereview.chromium.org/252423007/diff/1/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/252423007/diff/1/src/preparser.cc#newcode186 src/preparser.cc:186: PreParserStatement PreParser::ParseSourceElement(bool* ok) { The same here. https://codereview.chromium.org/252423007/diff/1/src/preparser.cc#newcode220 src/preparser.cc:220: ...
6 years, 8 months ago (2014-04-24 15:31:09 UTC) #2
aperez
On 2014/04/24 15:31:09, marja wrote: > https://codereview.chromium.org/252423007/diff/1/src/preparser.cc > File src/preparser.cc (right): > > [...] The ...
6 years, 8 months ago (2014-04-24 16:53:37 UTC) #3
marja
lgtm. Do you need somebody to land this or are you a committer?
6 years, 8 months ago (2014-04-24 19:22:08 UTC) #4
aperez
The CQ bit was checked by aperez@igalia.com
6 years, 8 months ago (2014-04-24 19:45:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://v8-status.appspot.com/cq/aperez@igalia.com/252423007/20001
6 years, 8 months ago (2014-04-24 19:46:01 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 19:46:02 UTC) #7
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 8 months ago (2014-04-24 19:46:03 UTC) #8
aperez
On 2014/04/24 19:22:08, marja wrote: > lgtm. Do you need somebody to land this or ...
6 years, 8 months ago (2014-04-24 19:48:10 UTC) #9
aperez
On 2014/04/24 19:46:03, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
6 years, 8 months ago (2014-04-24 19:50:20 UTC) #10
marja
I didn't know V8 had a commit queue! (The last time I heard, we didn't.) ...
6 years, 8 months ago (2014-04-25 06:31:38 UTC) #11
marja
Committed patchset #2 manually as r20965 (presubmit successful).
6 years, 8 months ago (2014-04-25 09:44:35 UTC) #12
marja
On 2014/04/25 09:44:35, marja wrote: > Committed patchset #2 manually as r20965 (presubmit successful). Alright, ...
6 years, 8 months ago (2014-04-25 09:45:07 UTC) #13
aperez
6 years, 8 months ago (2014-04-25 10:08:51 UTC) #14
Message was sent while issue was closed.
On 2014/04/25 09:45:07, marja wrote:
> On 2014/04/25 09:44:35, marja wrote:
> > Committed patchset #2 manually as r20965 (presubmit successful).
> 
> Alright, that worked. The commit queue just doesn't know how to. (I don't
think
> it's supposed to work yet.)

Somehow I thought the CQ was working… anyway, thanks again!

Powered by Google App Engine
This is Rietveld 408576698