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

Issue 1170153003: [destructuring] Refactor duplicate parameter name detection. (Closed)

Created:
5 years, 6 months ago by Dmitry Lomov (no reviews)
Modified:
5 years, 6 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[destructuring] Refactor duplicate parameter name detection. Pushed the detection logic down to ParseAndClassifyIdentifier in preparation to having patterns in parameter positions. R=arv@chromium.org,rossberg@chromium.org,wingo@igalia.com BUG=v8:811 LOG=N

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed FormalParameterScope trait #

Total comments: 2

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+516 lines, -280 lines) Patch
M BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A src/expression-classifier.h View 1 2 1 chunk +471 lines, -0 lines 0 comments Download
M src/parser.h View 1 2 2 chunks +22 lines, -13 lines 0 comments Download
M src/parser.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M src/preparser.h View 1 2 12 chunks +14 lines, -255 lines 0 comments Download
M src/preparser.cc View 1 2 1 chunk +4 lines, -7 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Dmitry Lomov (no reviews)
PTAL
5 years, 6 months ago (2015-06-09 13:36:54 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1170153003/1
5 years, 6 months ago (2015-06-09 14:14:18 UTC) #3
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/1170153003/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/1170153003/diff/1/src/preparser.h#newcode1593 src/preparser.h:1593: void DeclareFormalParameter(void* scope, PreParserIdentifier param, FormalParameterScope scope
5 years, 6 months ago (2015-06-09 14:17:47 UTC) #4
Dmitry Lomov (no reviews)
Please take another look https://codereview.chromium.org/1170153003/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/1170153003/diff/1/src/preparser.h#newcode1593 src/preparser.h:1593: void DeclareFormalParameter(void* scope, PreParserIdentifier param, ...
5 years, 6 months ago (2015-06-09 14:38:30 UTC) #5
wingo
Question below. LGTM in either case. https://codereview.chromium.org/1170153003/diff/20001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/1170153003/diff/20001/src/preparser.h#newcode1961 src/preparser.h:1961: } Do we ...
5 years, 6 months ago (2015-06-09 14:53:08 UTC) #6
Dmitry Lomov (no reviews)
https://codereview.chromium.org/1170153003/diff/20001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/1170153003/diff/20001/src/preparser.h#newcode1961 src/preparser.h:1961: } On 2015/06/09 14:53:08, wingo wrote: > Do we ...
5 years, 6 months ago (2015-06-09 14:56:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1170153003/40001
5 years, 6 months ago (2015-06-09 16:15:51 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-09 17:14:11 UTC) #11
commit-bot: I haz the power
5 years, 6 months ago (2015-06-09 17:14:37 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b64e13b0d846daf57bc200dc4559e834f9cb2a91
Cr-Commit-Position: refs/heads/master@{#28876}

Powered by Google App Engine
This is Rietveld 408576698