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

Issue 1570793002: [parser] parenthesized Literals are not valid AssignmentPatterns (Closed)

Created:
4 years, 11 months ago by caitp (gmail)
Modified:
4 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[parser] parenthesized Literals are not valid AssignmentPatterns Encode "parenthesized" status of parenthesized Expressions to prevent them from being treated as Patterns. BUG=v8:4657, v8:811 LOG=N R=rossberg@chromium.org, adamk@chromium.org, littledan@chromium.org Committed: https://crrev.com/1f1af42d3a1d5282d333394bc2badb02e9fae2c6 Cr-Commit-Position: refs/heads/master@{#33190}

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments #

Patch Set 3 : Add TODO + move ParenthesizedField line above Type-dependent fields/comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -3 lines) Patch
M src/ast/ast.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/parsing/parser-base.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/parsing/preparser.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M src/parsing/preparser.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
caitp (gmail)
PTAL... parser fixup to avoid DCHECK
4 years, 11 months ago (2016-01-08 15:24:35 UTC) #1
adamk
Sad this isn't covered by test262, hopefully soon! Thanks for the quick fix. https://codereview.chromium.org/1570793002/diff/1/src/ast/ast.h File ...
4 years, 11 months ago (2016-01-08 16:24:24 UTC) #3
caitp (gmail)
thanks, comments (mostly) addressed https://codereview.chromium.org/1570793002/diff/1/src/ast/ast.h File src/ast/ast.h (right): https://codereview.chromium.org/1570793002/diff/1/src/ast/ast.h#newcode370 src/ast/ast.h:370: bit_field_ |= ParenthesizedField::encode(true); On 2016/01/08 ...
4 years, 11 months ago (2016-01-08 16:36:01 UTC) #4
adamk
https://codereview.chromium.org/1570793002/diff/1/src/parsing/preparser.h File src/parsing/preparser.h (right): https://codereview.chromium.org/1570793002/diff/1/src/parsing/preparser.h#newcode314 src/parsing/preparser.h:314: // of the Type field, so they can share ...
4 years, 11 months ago (2016-01-08 16:52:53 UTC) #5
caitp (gmail)
https://codereview.chromium.org/1570793002/diff/1/src/parsing/preparser.h File src/parsing/preparser.h (right): https://codereview.chromium.org/1570793002/diff/1/src/parsing/preparser.h#newcode314 src/parsing/preparser.h:314: // of the Type field, so they can share ...
4 years, 11 months ago (2016-01-08 16:58:37 UTC) #6
adamk
lgtm
4 years, 11 months ago (2016-01-08 17:19:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570793002/40001
4 years, 11 months ago (2016-01-08 17:20:45 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-08 17:46:44 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 17:47:26 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1f1af42d3a1d5282d333394bc2badb02e9fae2c6
Cr-Commit-Position: refs/heads/master@{#33190}

Powered by Google App Engine
This is Rietveld 408576698