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

Issue 1094323005: [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
Reviewers:
caitp (gmail), adamk
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 Getter and setter function names in ES6 are defined as "get foo" and "set foo". BUG=None LOG=N R=adamk@chromium.org Committed: https://crrev.com/83c89a2e71a363afb35595f903423e650d788e42 Cr-Commit-Position: refs/heads/master@{#28034}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Remove template literals #

Patch Set 4 : Make sure the function name is flattened #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -4 lines) Patch
M src/runtime/runtime-function.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/v8natives.js View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
A test/mjsunit/es6/built-in-accessor-names.js View 1 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: 26 (7 generated)
arv (Not doing code reviews)
PTAL
5 years, 8 months ago (2015-04-23 18:18:49 UTC) #1
adamk
lgtm
5 years, 8 months ago (2015-04-23 18:20:15 UTC) #2
caitp (gmail)
On 2015/04/23 18:20:15, adamk wrote: > lgtm just an idea, but what if we changed ...
5 years, 8 months ago (2015-04-23 18:21:52 UTC) #3
arv (Not doing code reviews)
On 2015/04/23 18:21:52, caitp wrote: > On 2015/04/23 18:20:15, adamk wrote: > > lgtm > ...
5 years, 8 months ago (2015-04-23 18:25:40 UTC) #4
arv (Not doing code reviews)
Make InstallGetter and InstallGetterSetter handle the name
5 years, 8 months ago (2015-04-23 19:14:26 UTC) #5
arv (Not doing code reviews)
Moved the logic to InstallGetter and InstallGetterSetter instead. PTAL https://codereview.chromium.org/1094323005/diff/20001/test/mjsunit/es6/built-in-accessor-names.js File test/mjsunit/es6/built-in-accessor-names.js (right): https://codereview.chromium.org/1094323005/diff/20001/test/mjsunit/es6/built-in-accessor-names.js#newcode18 test/mjsunit/es6/built-in-accessor-names.js:18: ...
5 years, 8 months ago (2015-04-23 19:18:56 UTC) #6
caitp (gmail)
lgtm, but some comments might be worth consideration https://codereview.chromium.org/1094323005/diff/40001/src/v8natives.js File src/v8natives.js (right): https://codereview.chromium.org/1094323005/diff/40001/src/v8natives.js#newcode49 src/v8natives.js:49: %FunctionSetName(getter, ...
5 years, 8 months ago (2015-04-23 19:23:46 UTC) #9
arv (Not doing code reviews)
Remove template literals
5 years, 8 months ago (2015-04-23 19:50:34 UTC) #10
arv (Not doing code reviews)
PTAL https://codereview.chromium.org/1094323005/diff/40001/src/v8natives.js File src/v8natives.js (right): https://codereview.chromium.org/1094323005/diff/40001/src/v8natives.js#newcode49 src/v8natives.js:49: %FunctionSetName(getter, `get ${ On 2015/04/23 19:23:45, caitp wrote: ...
5 years, 8 months ago (2015-04-23 19:51:53 UTC) #11
caitp (gmail)
On 2015/04/23 19:51:53, arv wrote: > PTAL > > https://codereview.chromium.org/1094323005/diff/40001/src/v8natives.js > File src/v8natives.js (right): > ...
5 years, 8 months ago (2015-04-23 19:57:22 UTC) #12
adamk
lgtm
5 years, 8 months ago (2015-04-23 19:59:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094323005/60001
5 years, 8 months ago (2015-04-23 20:05:54 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/5115)
5 years, 8 months ago (2015-04-23 20:29:29 UTC) #18
arv (Not doing code reviews)
Make sure the function name is flattened
5 years, 8 months ago (2015-04-23 21:11:40 UTC) #19
arv (Not doing code reviews)
The debug bots failed because the function name was not flattened. I've added a call ...
5 years, 8 months ago (2015-04-23 21:13:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1094323005/80001
5 years, 8 months ago (2015-04-23 21:13:42 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 8 months ago (2015-04-23 21:56:38 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/83c89a2e71a363afb35595f903423e650d788e42 Cr-Commit-Position: refs/heads/master@{#28034}
5 years, 8 months ago (2015-04-23 21:56:45 UTC) #25
arv (Not doing code reviews)
5 years, 8 months ago (2015-04-23 22:06:24 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/1106713002/ by arv@chromium.org.

The reason for reverting is: Breaks GCMole ia32

http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20gcmole/builds...


src/runtime/runtime-function.cc:96:3: warning: Possible problem with evaluation
order.
  f->shared()->set_name(*NameToFunctionName(name));
  ^
src/runtime/runtime-function.cc:96:3: warning: Possible problem with evaluation
order.
2 warnings generated..

Powered by Google App Engine
This is Rietveld 408576698