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

Issue 1146683002: [destructuring] Implement initializers in patterns. (Closed)

Created:
5 years, 7 months ago by Dmitry Lomov (no reviews)
Modified:
5 years, 7 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] Implement initializers in patterns. R=arv@chromium.org,rossberg@chromium.org,wingo@igalia.com BUG=v8:811 LOG=N Committed: https://crrev.com/5cdaa3e6e5da4998c8e1351174a662b3cb5828ce Cr-Commit-Position: refs/heads/master@{#28482}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Correct patch this one is. #

Patch Set 3 : Rebased onto ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -18 lines) Patch
M src/parser.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M src/pattern-rewriter.cc View 1 2 chunks +23 lines, -5 lines 0 comments Download
M src/preparser.h View 1 2 5 chunks +45 lines, -4 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 chunks +21 lines, -2 lines 0 comments Download
M test/mjsunit/harmony/destructuring.js View 1 5 chunks +157 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (5 generated)
Dmitry Lomov (no reviews)
PTAL. This is based on https://codereview.chromium.org/1139773005/
5 years, 7 months ago (2015-05-18 12:30:14 UTC) #1
wingo
On 2015/05/18 12:30:14, Dmitry Lomov (chromium) wrote: > PTAL. This is based on https://codereview.chromium.org/1139773005/ Very ...
5 years, 7 months ago (2015-05-18 13:06:08 UTC) #2
Dmitry Lomov (no reviews)
On 2015/05/18 13:06:08, wingo wrote: > On 2015/05/18 12:30:14, Dmitry Lomov (chromium) wrote: > > ...
5 years, 7 months ago (2015-05-18 13:13:44 UTC) #3
wingo
On 2015/05/18 13:13:44, Dmitry Lomov (chromium) wrote: > On 2015/05/18 13:06:08, wingo wrote: > > ...
5 years, 7 months ago (2015-05-18 13:19:12 UTC) #4
wingo
> So e.g. function foo() { var {x,x} = {} } should signal an early ...
5 years, 7 months ago (2015-05-18 13:19:52 UTC) #5
Dmitry Lomov (no reviews)
On 2015/05/18 13:19:52, wingo wrote: > > So e.g. function foo() { var {x,x} = ...
5 years, 7 months ago (2015-05-18 13:38:13 UTC) #6
arv (Not doing code reviews)
LGTM Beautiful! https://codereview.chromium.org/1146683002/diff/1/src/pattern-rewriter.cc File src/pattern-rewriter.cc (right): https://codereview.chromium.org/1146683002/diff/1/src/pattern-rewriter.cc#newcode210 src/pattern-rewriter.cc:210: Variable* Parser::PatternRewriter::CreateTemp(Expression* value) { CreateTempVar maybe? https://codereview.chromium.org/1146683002/diff/1/src/pattern-rewriter.cc#newcode245 ...
5 years, 7 months ago (2015-05-18 14:36:20 UTC) #7
wingo
On 2015/05/18 13:38:13, Dmitry Lomov (chromium) wrote: > On 2015/05/18 13:19:52, wingo wrote: > > ...
5 years, 7 months ago (2015-05-18 14:37:27 UTC) #8
rossberg
https://codereview.chromium.org/1146683002/diff/1/src/parser.h File src/parser.h (right): https://codereview.chromium.org/1146683002/diff/1/src/parser.h#newcode1015 src/parser.h:1015: Scope* TemporaryDeclarationScope() const { Nit: is there a strong ...
5 years, 7 months ago (2015-05-18 16:17:20 UTC) #9
Dmitry Lomov (no reviews)
Comments addressed + rebased on top of latest patch for https://codereview.chromium.org/1139773005/ https://codereview.chromium.org/1146683002/diff/1/src/parser.h File src/parser.h (right): ...
5 years, 7 months ago (2015-05-18 17:31:23 UTC) #10
Dmitry Lomov (no reviews)
PS3 is the correct patch on top of https://codereview.chromium.org/1139773005/
5 years, 7 months ago (2015-05-18 18:53:26 UTC) #11
Dmitry Lomov (no reviews)
On 2015/05/18 18:53:26, Dmitry Lomov (chromium) wrote: > PS3 is the correct patch on top ...
5 years, 7 months ago (2015-05-18 18:54:05 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1146683002/60001
5 years, 7 months ago (2015-05-19 06:11:51 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-19 06:40:44 UTC) #18
rossberg
lgtm
5 years, 7 months ago (2015-05-19 14:26:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1146683002/60001
5 years, 7 months ago (2015-05-19 14:28:25 UTC) #21
Dmitry Lomov (no reviews)
On 2015/05/19 14:26:59, rossberg wrote: > lgtm Thanks - here goes Big Destructuring Landing Party
5 years, 7 months ago (2015-05-19 14:28:37 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 7 months ago (2015-05-19 14:29:57 UTC) #23
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 14:30:11 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5cdaa3e6e5da4998c8e1351174a662b3cb5828ce
Cr-Commit-Position: refs/heads/master@{#28482}

Powered by Google App Engine
This is Rietveld 408576698