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

Issue 2556663002: [compiler] Improve let+const decision in AstNumbering. (Closed)

Created:
4 years ago by Benedikt Meurer
Modified:
4 years ago
Reviewers:
adamk, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Improve let+const decision in AstNumbering. Incooperate suggestion from adamk@ to only sent lexical variables to I+TF that require explicit initialization, i.e. don't send named function expressions to I+TF. This should recover most of the regression now. Also introduce a regression test for the original let issue. BUG=chromium:670691, v8:5666 R=adamk@chromium.org,yangguo@chromium.org Committed: https://crrev.com/78691367163ad318a6b441f03de5e7f5bf400df7 Cr-Commit-Position: refs/heads/master@{#41507}

Patch Set 1 #

Patch Set 2 : Add comment. #

Total comments: 1

Patch Set 3 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M src/ast/ast-numbering.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
A test/mjsunit/regress/regress-v8-5666.js View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Benedikt Meurer
4 years ago (2016-12-06 05:37:50 UTC) #1
Yang
On 2016/12/06 05:37:50, Benedikt Meurer wrote: lgtm, but please add a comment.
4 years ago (2016-12-06 05:39:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556663002/20001
4 years ago (2016-12-06 05:43:24 UTC) #7
Yang
https://codereview.chromium.org/2556663002/diff/20001/src/ast/ast-numbering.cc File src/ast/ast-numbering.cc (right): https://codereview.chromium.org/2556663002/diff/20001/src/ast/ast-numbering.cc#newcode166 src/ast/ast-numbering.cc:166: // initialization, i.e. ES2015 stylt const and let, but ...
4 years ago (2016-12-06 05:48:14 UTC) #8
Benedikt Meurer
On 2016/12/06 05:48:14, Yang wrote: > https://codereview.chromium.org/2556663002/diff/20001/src/ast/ast-numbering.cc > File src/ast/ast-numbering.cc (right): > > https://codereview.chromium.org/2556663002/diff/20001/src/ast/ast-numbering.cc#newcode166 > ...
4 years ago (2016-12-06 05:48:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556663002/40001
4 years ago (2016-12-06 05:49:05 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-06 06:12:57 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/78691367163ad318a6b441f03de5e7f5bf400df7 Cr-Commit-Position: refs/heads/master@{#41507}
4 years ago (2016-12-06 06:13:29 UTC) #17
adamk
4 years ago (2016-12-06 18:24:43 UTC) #18
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698