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

Issue 1564343002: Fix for temporaries in parameter initializers (Closed)

Created:
4 years, 11 months ago by nickie
Modified:
4 years, 11 months ago
Reviewers:
rossberg
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

Fix for temporaries in parameter initializers This patch introduces a mechanism for changing the scope of temporary variables, which is necessary for rewriting arrow parameter initializers. It also fixes a potential bug in AstExpressionVisitor, which did not visit the automatically generated members of ForEachStatement. Fixes test/mjsunit/harmony/regress/regress-4658.js R=rossberg@chromium.org BUG=v8:4658 LOG=N Committed: https://crrev.com/0406fa2237acb05af24a9e264d7d451f5901834f Cr-Commit-Position: refs/heads/master@{#33183}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -3 lines) Patch
M src/ast/ast-expression-visitor.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/ast/scopes.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/ast/scopes.cc View 1 chunk +14 lines, -1 line 0 comments Download
M src/ast/variables.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/parsing/parameter-initializer-rewriter.cc View 1 chunk +8 lines, -2 lines 0 comments Download
A test/mjsunit/harmony/regress/regress-4658.js View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
nickie
4 years, 11 months ago (2016-01-08 14:20:07 UTC) #1
nickie
On 2016/01/08 14:20:07, nickie wrote: This patch contains elements of this: https://codereview.chromium.org/1564083002/#ps1
4 years, 11 months ago (2016-01-08 14:21:48 UTC) #2
rossberg
lgtm
4 years, 11 months ago (2016-01-08 14:59:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564343002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564343002/1
4 years, 11 months ago (2016-01-08 15:02:25 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/9565)
4 years, 11 months ago (2016-01-08 15:21:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1564343002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1564343002/1
4 years, 11 months ago (2016-01-08 15:31:57 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-08 15:43:40 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 15:44:33 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0406fa2237acb05af24a9e264d7d451f5901834f
Cr-Commit-Position: refs/heads/master@{#33183}

Powered by Google App Engine
This is Rietveld 408576698