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

Issue 1240463002: [es6] Implement inner scope for functions with destructuring (Closed)

Created:
5 years, 5 months ago by rossberg
Modified:
5 years, 5 months ago
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] Implement inner scope for functions with destructuring R=adamk@chromium.org, littledan@chromium.org BUG=v8:811 LOG=N Committed: https://crrev.com/207fbbbe327b782c65ba4f1d0f626d81629758c7 Cr-Commit-Position: refs/heads/master@{#29674}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add tests for function name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -51 lines) Patch
M src/parser.cc View 3 chunks +63 lines, -43 lines 0 comments Download
M src/scopes.h View 2 chunks +6 lines, -4 lines 0 comments Download
M src/scopes.cc View 2 chunks +4 lines, -1 line 0 comments Download
M test/mjsunit/big-array-literal.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/harmony/destructuring.js View 1 2 chunks +49 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
rossberg
5 years, 5 months ago (2015-07-13 15:37:54 UTC) #1
caitp (gmail)
https://codereview.chromium.org/1240463002/diff/1/src/scopes.cc File src/scopes.cc (right): https://codereview.chromium.org/1240463002/diff/1/src/scopes.cc#newcode1369 src/scopes.cc:1369: outer_scope()->DeclarationScope()->AllocateStackSlot(var); Won't DeclarationScope() get outer_scope() on its own if ...
5 years, 5 months ago (2015-07-13 16:00:52 UTC) #3
adamk
https://codereview.chromium.org/1240463002/diff/1/test/mjsunit/harmony/destructuring.js File test/mjsunit/harmony/destructuring.js (right): https://codereview.chromium.org/1240463002/diff/1/test/mjsunit/harmony/destructuring.js#newcode761 test/mjsunit/harmony/destructuring.js:761: // TODO(rossberg): Check for variable collision. Do you mean ...
5 years, 5 months ago (2015-07-13 19:27:31 UTC) #4
rossberg
https://codereview.chromium.org/1240463002/diff/1/src/scopes.cc File src/scopes.cc (right): https://codereview.chromium.org/1240463002/diff/1/src/scopes.cc#newcode1369 src/scopes.cc:1369: outer_scope()->DeclarationScope()->AllocateStackSlot(var); On 2015/07/13 16:00:51, caitp wrote: > Won't DeclarationScope() ...
5 years, 5 months ago (2015-07-14 06:24:51 UTC) #5
adamk
lgtm
5 years, 5 months ago (2015-07-14 18:33:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240463002/20001
5 years, 5 months ago (2015-07-15 10:30:36 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-15 10:59:57 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 11:00:07 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/207fbbbe327b782c65ba4f1d0f626d81629758c7
Cr-Commit-Position: refs/heads/master@{#29674}

Powered by Google App Engine
This is Rietveld 408576698