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

Issue 671913002: harmony-scoping: Allow 'const' iteration variables in strict mode. (Closed)

Created:
6 years, 2 months ago by Dmitry Lomov (no reviews)
Modified:
6 years, 2 months ago
Reviewers:
rossberg
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

harmony-scoping: Allow 'const' iteration variables in strict mode. R=rossberg@chromium.org BUG=v8:2506 LOG=N Committed: https://code.google.com/p/v8/source/detail?r=24834 Committed: https://code.google.com/p/v8/source/detail?r=24842

Patch Set 1 #

Total comments: 10

Patch Set 2 : CR feedback #

Total comments: 3

Patch Set 3 : Remove assertion (checked downstream) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -16 lines) Patch
M src/parser.cc View 1 2 8 chunks +21 lines, -10 lines 0 comments Download
M src/preparser.h View 1 chunk +6 lines, -2 lines 0 comments Download
M src/preparser.cc View 1 4 chunks +9 lines, -4 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 1 chunk +39 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-2506.js View 1 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Dmitry Lomov (no reviews)
PTAL.
6 years, 2 months ago (2014-10-22 14:57:30 UTC) #1
rossberg
https://codereview.chromium.org/671913002/diff/1/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/671913002/diff/1/src/preparser.cc#newcode466 src/preparser.cc:466: (is_strict_const && peek() == Token::COMMA)) { I don't understand ...
6 years, 2 months ago (2014-10-23 09:44:54 UTC) #2
Dmitry Lomov (no reviews)
Comments addressed. https://codereview.chromium.org/671913002/diff/1/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/671913002/diff/1/src/preparser.cc#newcode466 src/preparser.cc:466: (is_strict_const && peek() == Token::COMMA)) { On ...
6 years, 2 months ago (2014-10-23 10:33:34 UTC) #3
rossberg
https://codereview.chromium.org/671913002/diff/20001/src/preparser.cc File src/preparser.cc (right): https://codereview.chromium.org/671913002/diff/20001/src/preparser.cc#newcode466 src/preparser.cc:466: // require initializers for multiple consts. Nit: upper case ...
6 years, 2 months ago (2014-10-23 10:41:28 UTC) #4
rossberg
lgtm https://codereview.chromium.org/671913002/diff/20001/test/mjsunit/regress/regress-2506.js File test/mjsunit/regress/regress-2506.js (right): https://codereview.chromium.org/671913002/diff/20001/test/mjsunit/regress/regress-2506.js#newcode9 test/mjsunit/regress/regress-2506.js:9: // Top-level code On 2014/10/23 10:41:28, rossberg wrote: ...
6 years, 2 months ago (2014-10-23 10:47:11 UTC) #5
Dmitry Lomov (no reviews)
Committed patchset #2 (id:20001) manually as 24834 (presubmit successful).
6 years, 2 months ago (2014-10-23 11:19:00 UTC) #6
Dmitry Lomov (no reviews)
6 years, 2 months ago (2014-10-23 12:30:30 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 24842 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698