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

Issue 2599253002: [counters] Add UseCounters for 'f() = 0' syntax (Closed)

Created:
4 years ago by bakkot1
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[counters] Add UseCounters for 'f() = 0' syntax This syntax was formerly legal per ECMAScript, but has been a SyntaxError for some time now. V8 deviates from spec in that it is instead a runtime error; we'd like to know if we can get away with removing it (at least in sloppy mode) or if the spec should be changed. c.f. https://github.com/tc39/ecma262/issues/257#issuecomment-195106880 Also add self to authors file BUG=v8:4480 Review-Url: https://codereview.chromium.org/2599253002 Cr-Commit-Position: refs/heads/master@{#41960} Committed: https://chromium.googlesource.com/v8/v8/+/bf9e013bbc52f8fb3040a15fb71c8abfc0c15de7

Patch Set 1 #

Total comments: 5

Patch Set 2 : address dan's comments #

Patch Set 3 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M include/v8.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/parsing/parser-base.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/test-usecounters.cc View 1 2 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
bakkot1
PTAL
4 years ago (2016-12-23 05:32:04 UTC) #3
Dan Ehrenberg
Awesome! Keep doing this! Just a couple nits. I added a reference to the relevant ...
4 years ago (2016-12-23 07:56:52 UTC) #5
bakkot1
https://codereview.chromium.org/2599253002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2599253002/diff/1/include/v8.h#newcode6491 include/v8.h:6491: kAssigmentExpressionLHSIsCallInNonstrict = 36, On 2016/12/23 07:56:52, Dan Ehrenberg wrote: ...
3 years, 12 months ago (2016-12-23 09:41:54 UTC) #6
Dan Ehrenberg
lgtm
3 years, 12 months ago (2016-12-23 12:27:21 UTC) #7
bakkot1
On 2016/12/23 12:27:21, Dan Ehrenberg wrote: > lgtm The UseCounter is triggered once for each ...
3 years, 12 months ago (2016-12-23 20:51:47 UTC) #12
Dan Ehrenberg
On 2016/12/23 20:51:47, bakkot1 wrote: > On 2016/12/23 12:27:21, Dan Ehrenberg wrote: > > lgtm ...
3 years, 12 months ago (2016-12-23 23:34:50 UTC) #13
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/2599253002/40001
3 years, 12 months ago (2016-12-27 17:17:44 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/bf9e013bbc52f8fb3040a15fb71c8abfc0c15de7
3 years, 12 months ago (2016-12-27 17:48:45 UTC) #23
bakkot1
Alright, this has landed. Dan, could you take care of // If you add new ...
3 years, 12 months ago (2016-12-27 17:59:01 UTC) #24
jochen (gone - plz use gerrit)
any updates on the use counters?
3 years, 11 months ago (2017-01-11 12:44:11 UTC) #26
Dan Ehrenberg
On 2017/01/11 12:44:11, jochen wrote: > any updates on the use counters? Oh sorry, I ...
3 years, 11 months ago (2017-01-11 18:08:47 UTC) #27
Dan Ehrenberg
On 2017/01/11 12:44:11, jochen wrote: > any updates on the use counters? Oh sorry, I ...
3 years, 11 months ago (2017-01-11 18:08:51 UTC) #28
jochen (gone - plz use gerrit)
3 years, 11 months ago (2017-01-11 18:11:37 UTC) #29
Message was sent while issue was closed.
no sweat... I'll add the use counters together with another one I want to add
anyway

Powered by Google App Engine
This is Rietveld 408576698