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

Issue 1633743003: Add UseCounters for some nonstandard JavaScript features (Closed)

Created:
4 years, 11 months ago by Dan Ehrenberg
Modified:
4 years, 10 months ago
Reviewers:
adamk
CC:
Paweł Hajdan Jr., 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

Add UseCounters for some nonstandard JavaScript features This patch adds a UseCounter for each of the following: - Allowing duplicate sloppy-mode block-scoped function declarations in the exact same scope - for-in loops with an initializer The patch also refactors some of the declaration code to clean it up and enable the first counter, and adds additional unit tests to nail down the semantics of edge cases of sloppy-mode block-scoped function declarations. BUG=v8:4693, chromium:579395 LOG=N R=adamk Committed: https://crrev.com/11e8c03f94c6110d9bc7397741a6904580fac86b Cr-Commit-Position: refs/heads/master@{#33650}

Patch Set 1 #

Patch Set 2 : fix bug; reduce indentation #

Total comments: 3

Patch Set 3 : Rebase and reflow comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -28 lines) Patch
M include/v8.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 chunks +34 lines, -27 lines 0 comments Download
M test/mjsunit/regress/regress-4693.js View 1 2 chunks +52 lines, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633743003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633743003/1
4 years, 11 months ago (2016-01-25 21:03:45 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/1898) v8_win_rel_ng_triggered on ...
4 years, 11 months ago (2016-01-25 21:20:23 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633743003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633743003/20001
4 years, 11 months ago (2016-01-26 05:40:16 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-26 06:05:46 UTC) #8
Dan Ehrenberg
PTAL
4 years, 10 months ago (2016-01-29 23:52:57 UTC) #9
adamk
lgtm % comment formatting https://codereview.chromium.org/1633743003/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1633743003/diff/20001/src/parsing/parser.cc#newcode1988 src/parsing/parser.cc:1988: // is Please re-flow this ...
4 years, 10 months ago (2016-02-01 18:26:58 UTC) #10
Dan Ehrenberg
https://codereview.chromium.org/1633743003/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1633743003/diff/20001/src/parsing/parser.cc#newcode1988 src/parsing/parser.cc:1988: // is On 2016/02/01 at 18:26:58, adamk wrote: > ...
4 years, 10 months ago (2016-02-01 22:02:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633743003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633743003/40001
4 years, 10 months ago (2016-02-01 22:02:47 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-01 23:01:25 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 23:02:15 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/11e8c03f94c6110d9bc7397741a6904580fac86b
Cr-Commit-Position: refs/heads/master@{#33650}

Powered by Google App Engine
This is Rietveld 408576698