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

Issue 2709773002: [builtins] (Re-)implement Array.prototype.every/some with the CSA (Closed)

Created:
3 years, 10 months ago by danno
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com, mvstanton
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] (Re-)implement Array.prototype.every/some with the CSA In the process, re-factor the implementation of Array.prototype.forEach so that the bulk of the implementation can be re-used, since much of the spec is identical. The refactor should also make it more straight-forward to implement map and filter. The re-factored version only have a single slow path for processing elements which is used for both the overall slow path and for the bailout from the FAST_ELEMENTS case. Review-Url: https://codereview.chromium.org/2709773002 Cr-Commit-Position: refs/heads/master@{#43745} Committed: https://chromium.googlesource.com/v8/v8/+/6e0496b256b7beff5132fcb5d6aa220db63258b3

Patch Set 1 #

Patch Set 2 : Latest version #

Patch Set 3 : Remove stray change #

Patch Set 4 : Fix error string #

Patch Set 5 : Add some #

Total comments: 23

Patch Set 6 : Review feedback #

Patch Set 7 : Review feedback #

Patch Set 8 : Simplify name generation #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -163 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins-array.cc View 1 2 3 4 5 6 7 8 2 chunks +228 lines, -163 lines 0 comments Download
M src/debug/debug-evaluate.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (37 generated)
danno
ptal
3 years, 10 months ago (2017-02-23 21:33:31 UTC) #14
danno
friendly ping
3 years, 9 months ago (2017-03-10 12:22:49 UTC) #15
Igor Sheludko
https://codereview.chromium.org/2709773002/diff/80001/src/builtins/builtins-array.cc File src/builtins/builtins-array.cc (right): https://codereview.chromium.org/2709773002/diff/80001/src/builtins/builtins-array.cc#newcode442 src/builtins/builtins-array.cc:442: BuiltinResultGenerator generator, const X& https://codereview.chromium.org/2709773002/diff/80001/src/builtins/builtins-array.cc#newcode443 src/builtins/builtins-array.cc:443: CallResultProcessor processor) { ...
3 years, 9 months ago (2017-03-10 14:14:45 UTC) #17
danno
please take a look https://codereview.chromium.org/2709773002/diff/80001/src/builtins/builtins-array.cc File src/builtins/builtins-array.cc (right): https://codereview.chromium.org/2709773002/diff/80001/src/builtins/builtins-array.cc#newcode442 src/builtins/builtins-array.cc:442: BuiltinResultGenerator generator, On 2017/03/10 14:14:44, ...
3 years, 9 months ago (2017-03-13 07:22:06 UTC) #22
Igor Sheludko
lgtm https://codereview.chromium.org/2709773002/diff/80001/src/builtins/builtins-array.cc File src/builtins/builtins-array.cc (right): https://codereview.chromium.org/2709773002/diff/80001/src/builtins/builtins-array.cc#newcode487 src/builtins/builtins-array.cc:487: s += name; On 2017/03/13 07:22:06, danno wrote: ...
3 years, 9 months ago (2017-03-13 08:21:20 UTC) #27
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/2709773002/140001
3 years, 9 months ago (2017-03-13 12:01:19 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/36440)
3 years, 9 months ago (2017-03-13 12:07:37 UTC) #36
Yang
On 2017/03/13 12:07:37, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 9 months ago (2017-03-13 12:26:41 UTC) #39
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/2709773002/160001
3 years, 9 months ago (2017-03-13 12:52:13 UTC) #44
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 12:54:55 UTC) #47
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/v8/v8/+/6e0496b256b7beff5132fcb5d6aa220db63...

Powered by Google App Engine
This is Rietveld 408576698