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

Issue 1259013003: [es6] Refactor FormalParameter (Closed)

Created:
5 years, 4 months ago by rossberg
Modified:
5 years, 4 months ago
Reviewers:
Dan Ehrenberg, adamk
CC:
v8-dev, caitp (gmail)
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] Refactor FormalParameter Store arity in FormalParameters; store name (instead of var) and is_rest flag in individual parameters. Ensure that the arity is always maintained consistently. This is preparation for more parameter destructuring adjustments. In particular, a follow-up CL will separate parameter recording from declaring the variables. R=adamk@chromium.org, littledan@chromium.org BUG=v8:811 LOG=N Committed: https://crrev.com/56bd11a11a4fc4b26f215ea5ca3217958db091fd Cr-Commit-Position: refs/heads/master@{#30002}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -33 lines) Patch
M src/parser.h View 1 2 4 chunks +10 lines, -7 lines 0 comments Download
M src/parser.cc View 1 8 chunks +11 lines, -7 lines 0 comments Download
M src/preparser.h View 1 2 9 chunks +16 lines, -16 lines 0 comments Download
M src/preparser.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
rossberg
5 years, 4 months ago (2015-07-28 14:06:13 UTC) #1
adamk
This change lgtm, but as noted below it looks a little brittle. Is there no ...
5 years, 4 months ago (2015-08-03 18:20:23 UTC) #2
rossberg
https://codereview.chromium.org/1259013003/diff/1/src/parser.h File src/parser.h (right): https://codereview.chromium.org/1259013003/diff/1/src/parser.h#newcode559 src/parser.h:559: DCHECK(arity == params.length()); On 2015/08/03 18:20:23, adamk wrote: > ...
5 years, 4 months ago (2015-08-04 13:44:22 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1259013003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1259013003/40001
5 years, 4 months ago (2015-08-04 13:44:35 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-04 14:24:44 UTC) #7
commit-bot: I haz the power
5 years, 4 months ago (2015-08-04 14:25:22 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/56bd11a11a4fc4b26f215ea5ca3217958db091fd
Cr-Commit-Position: refs/heads/master@{#30002}

Powered by Google App Engine
This is Rietveld 408576698