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

Issue 1093183006: [es6] Map/Set size getter should have "get size" name (Closed)

Created:
5 years, 8 months ago by arv (Not doing code reviews)
Modified:
5 years, 8 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] Map/Set size getter should have "get size" name This reverts commit d5565c1f689b2953d92abd350529363f04f90fcd. Getter and setter function names in ES6 are defined as "get foo" and "set foo". This also moves the logic for handling symbols from runtime-function.cc to v8natives.js. BUG=None LOG=N R=adamk@chromium.org Committed: https://crrev.com/2279dfe7890f4cbe63f1ee9adb290a533d9a2c20 Cr-Commit-Position: refs/heads/master@{#28050}

Patch Set 1 #

Patch Set 2 : Move the string flattening to v8natives.js #

Patch Set 3 : Moved the flatten back to the runtime but restructured the code slightly #

Total comments: 1

Patch Set 4 : NameToFunctionName might allocate now so we need to be careful about execution order #

Total comments: 1

Patch Set 5 : cleanup #

Patch Set 6 : Remove comment #

Patch Set 7 : Implement ES6 SetFunctionName correctly #

Patch Set 8 : Use IS_UNDEFINED instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -43 lines) Patch
M src/array-iterator.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/collection-iterator.js View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M src/generator.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/i18n.js View 1 2 3 4 5 6 10 chunks +12 lines, -12 lines 0 comments Download
M src/runtime/runtime-function.cc View 1 2 3 4 5 6 1 chunk +3 lines, -20 lines 0 comments Download
M src/string-iterator.js View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M src/v8natives.js View 1 2 3 4 5 6 7 4 chunks +18 lines, -5 lines 0 comments Download
A test/mjsunit/es6/built-in-accessor-names.js View 1 chunk +51 lines, -0 lines 0 comments Download
M test/mjsunit/es6/collections.js View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (6 generated)
arv (Not doing code reviews)
Move the string flattening to v8natives.js
5 years, 8 months ago (2015-04-24 15:25:27 UTC) #1
arv (Not doing code reviews)
Original revert is in patch set 1. Changes are in patch set 2. The difference ...
5 years, 8 months ago (2015-04-24 15:26:53 UTC) #2
arv (Not doing code reviews)
PTAL
5 years, 8 months ago (2015-04-24 15:27:05 UTC) #4
adamk
I'd prefer the original patch's approach (flattening the string in C++) and just fixing the ...
5 years, 8 months ago (2015-04-24 15:40:36 UTC) #5
arv (Not doing code reviews)
Moved the flatten back to the runtime but restructured the code slightly
5 years, 8 months ago (2015-04-24 15:53:58 UTC) #6
arv (Not doing code reviews)
PTAL
5 years, 8 months ago (2015-04-24 15:55:24 UTC) #7
adamk
https://codereview.chromium.org/1093183006/diff/30001/src/runtime/runtime-function.cc File src/runtime/runtime-function.cc (right): https://codereview.chromium.org/1093183006/diff/30001/src/runtime/runtime-function.cc#newcode96 src/runtime/runtime-function.cc:96: f->shared()->set_name(*NameToFunctionName(name)); The solution is to put this on two ...
5 years, 8 months ago (2015-04-24 16:06:53 UTC) #8
arv (Not doing code reviews)
NameToFunctionName might allocate now so we need to be careful about execution order
5 years, 8 months ago (2015-04-24 16:20:11 UTC) #9
arv (Not doing code reviews)
cleanup
5 years, 8 months ago (2015-04-24 16:26:30 UTC) #10
arv (Not doing code reviews)
PTAL
5 years, 8 months ago (2015-04-24 16:28:09 UTC) #11
adamk
lgtm Do with the comment what you will. https://codereview.chromium.org/1093183006/diff/50001/src/runtime/runtime-function.cc File src/runtime/runtime-function.cc (right): https://codereview.chromium.org/1093183006/diff/50001/src/runtime/runtime-function.cc#newcode96 src/runtime/runtime-function.cc:96: // ...
5 years, 8 months ago (2015-04-24 16:29:07 UTC) #12
arv (Not doing code reviews)
Remove comment
5 years, 8 months ago (2015-04-24 16:29:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1093183006/90001
5 years, 8 months ago (2015-04-24 16:31:33 UTC) #16
arv (Not doing code reviews)
Implement ES6 SetFunctionName correctly
5 years, 8 months ago (2015-04-24 17:02:13 UTC) #18
arv (Not doing code reviews)
Use IS_UNDEFINED instead
5 years, 8 months ago (2015-04-24 17:04:51 UTC) #19
arv (Not doing code reviews)
I ended up taking care of Caitlin's TODO and just implemented the ES6 spec algorithm ...
5 years, 8 months ago (2015-04-24 17:06:02 UTC) #20
caitp (gmail)
On 2015/04/24 17:06:02, arv wrote: > I ended up taking care of Caitlin's TODO and ...
5 years, 8 months ago (2015-04-24 17:13:51 UTC) #21
caitp (gmail)
On 2015/04/24 17:13:51, caitp wrote: > On 2015/04/24 17:06:02, arv wrote: > > I ended ...
5 years, 8 months ago (2015-04-24 17:14:40 UTC) #22
adamk
lgtm
5 years, 8 months ago (2015-04-24 17:35:37 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1093183006/130001
5 years, 8 months ago (2015-04-24 17:49:02 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years, 8 months ago (2015-04-24 18:16:25 UTC) #26
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/2279dfe7890f4cbe63f1ee9adb290a533d9a2c20 Cr-Commit-Position: refs/heads/master@{#28050}
5 years, 8 months ago (2015-04-24 18:16:36 UTC) #27
Michael Achenbach
[Sheriff] Please land a blink-side needsmanualrebaseline for the expectation change of inspector/console/console-format.html or revert. See ...
5 years, 8 months ago (2015-04-24 19:47:36 UTC) #29
arv (Not doing code reviews)
On 2015/04/24 19:47:36, Michael Achenbach wrote: > [Sheriff] Please land a blink-side needsmanualrebaseline for the ...
5 years, 8 months ago (2015-04-24 20:00:53 UTC) #30
arv (Not doing code reviews)
5 years, 8 months ago (2015-04-24 20:00:53 UTC) #31
Message was sent while issue was closed.
On 2015/04/24 19:47:36, Michael Achenbach wrote:
> [Sheriff] Please land a blink-side needsmanualrebaseline for the expectation
> change of inspector/console/console-format.html or revert.
> 
> See e.g.:
>
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064/builds/3102

I'm adding the exception.

Powered by Google App Engine
This is Rietveld 408576698