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

Issue 1911963003: Add flag for disallowing for-in initializers (Closed)

Created:
4 years, 8 months ago by rossberg
Modified:
4 years, 8 months ago
Reviewers:
nickie, adamk
CC:
v8-reviews_googlegroups.com, Michael Hablich
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add flag for disallowing for-in initializers This does not affect use counters. R=nikolaos@chromium.org BUG= Committed: https://crrev.com/9ce87d67728d671a3ae11bf2befb1d92936e22b7 Cr-Commit-Position: refs/heads/master@{#35726}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M src/bootstrapper.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/for-in.js View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
rossberg
4 years, 8 months ago (2016-04-22 11:14:22 UTC) #1
nickie
LGTM, modulo the inconsistency with the preparser that we discussed. https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc#newcode3503 ...
4 years, 8 months ago (2016-04-22 11:22:56 UTC) #2
rossberg
https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc#newcode3503 src/parsing/parser.cc:3503: if (FLAG_harmony_for_in) { On 2016/04/22 11:22:56, nickie wrote: > ...
4 years, 8 months ago (2016-04-22 11:34:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1911963003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1911963003/20001
4 years, 8 months ago (2016-04-22 11:35:06 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-22 12:02:56 UTC) #7
adamk
https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc#newcode3503 src/parsing/parser.cc:3503: if (FLAG_harmony_for_in) { On 2016/04/22 11:34:50, rossberg wrote: > ...
4 years, 8 months ago (2016-04-22 17:28:18 UTC) #9
adamk
On 2016/04/22 17:28:18, adamk wrote: > https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc > File src/parsing/parser.cc (right): > > https://codereview.chromium.org/1911963003/diff/1/src/parsing/parser.cc#newcode3503 > ...
4 years, 8 months ago (2016-04-22 18:23:54 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9ce87d67728d671a3ae11bf2befb1d92936e22b7 Cr-Commit-Position: refs/heads/master@{#35726}
4 years, 8 months ago (2016-04-22 19:15:31 UTC) #12
rossberg
4 years, 8 months ago (2016-04-25 11:42:45 UTC) #13
Message was sent while issue was closed.
@adamk, I had considered that, but then we would count the feature twice most of
the time. But I suppose that's not a problem, since we mostly slice counters by
page anyway.

Powered by Google App Engine
This is Rietveld 408576698