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

Issue 2663033003: [builtins] TurboFan version of Array.prototype.forEach including fast path for FAST_ELEMENTS (Closed)

Created:
3 years, 10 months ago by danno
Modified:
3 years, 10 months ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, rmcilroy, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] TurboFan version of Array.prototype.forEach including fast path for FAST_ELEMENTS BUG=v8:5269, v8:1956 LOG=N R=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2663033003 Cr-Commit-Position: refs/heads/master@{#42926} Committed: https://chromium.googlesource.com/v8/v8/+/5205b9db0659efc03f612e6ffc525b922629d67c

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Remove stray changes #

Patch Set 4 : Tweaks #

Patch Set 5 : Tweaks #

Patch Set 6 : Latest #

Patch Set 7 : Fix representation bug #

Patch Set 8 : Remove dead code #

Patch Set 9 : Fix bug #

Patch Set 10 : Fix exception on null/undefined #

Patch Set 11 : Cleanup #

Patch Set 12 : Correct overall patch #

Patch Set 13 : Rebase on ToT #

Total comments: 8

Patch Set 14 : Review feedback #

Patch Set 15 : Fix test #

Patch Set 16 : Rebase #

Patch Set 17 : Test flag on #

Patch Set 18 : Disable #

Total comments: 4

Patch Set 19 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -4 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +26 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +2 lines, -1 line 0 comments Download
M src/builtins/builtins-array.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +236 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 6 7 8 9 10 11 12 17 2 chunks +2 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +42 lines, -0 lines 0 comments Download
M src/js/array.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -3 lines 0 comments Download
A test/mjsunit/proto-elements-add-during-foreach.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (48 generated)
danno
ptal. Yang, would you mind looking at the boostrapper/builtins registration logic to allow activating the ...
3 years, 10 months ago (2017-02-02 00:16:18 UTC) #27
Benedikt Meurer
Looking good! First round of comments. https://codereview.chromium.org/2663033003/diff/230001/src/builtins/builtins-array.cc File src/builtins/builtins-array.cc (right): https://codereview.chromium.org/2663033003/diff/230001/src/builtins/builtins-array.cc#newcode508 src/builtins/builtins-array.cc:508: } You need ...
3 years, 10 months ago (2017-02-02 05:22:38 UTC) #30
Yang
https://codereview.chromium.org/2663033003/diff/230001/src/js/array.js File src/js/array.js (right): https://codereview.chromium.org/2663033003/diff/230001/src/js/array.js#newcode1580 src/js/array.js:1580: specialExperimentalArrayFunctions = %SpecialExperimentalArrayFunctions(); Can we have all of this ...
3 years, 10 months ago (2017-02-02 10:04:59 UTC) #31
danno
Feedback addressed, please take another look.
3 years, 10 months ago (2017-02-02 17:01:01 UTC) #46
danno
Now with comments addressed. https://codereview.chromium.org/2663033003/diff/230001/src/builtins/builtins-array.cc File src/builtins/builtins-array.cc (right): https://codereview.chromium.org/2663033003/diff/230001/src/builtins/builtins-array.cc#newcode508 src/builtins/builtins-array.cc:508: } On 2017/02/02 05:22:38, Benedikt ...
3 years, 10 months ago (2017-02-02 17:15:48 UTC) #47
Benedikt Meurer
Thanks. LGTM from my side.
3 years, 10 months ago (2017-02-02 17:54:05 UTC) #50
Yang
LGTM with comments. https://codereview.chromium.org/2663033003/diff/320001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2663033003/diff/320001/src/bootstrapper.cc#newcode3555 src/bootstrapper.cc:3555: Handle<JSObject>::cast(isolate->natives_utils_object()); Alternatively, you could just get ...
3 years, 10 months ago (2017-02-03 10:20:26 UTC) #51
danno
Feedback addressed, landing https://codereview.chromium.org/2663033003/diff/320001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2663033003/diff/320001/src/bootstrapper.cc#newcode3555 src/bootstrapper.cc:3555: Handle<JSObject>::cast(isolate->natives_utils_object()); On 2017/02/03 10:20:25, Yang wrote: ...
3 years, 10 months ago (2017-02-03 12:46:55 UTC) #52
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/2663033003/340001
3 years, 10 months ago (2017-02-03 12:47:10 UTC) #55
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 13:16:26 UTC) #58
Message was sent while issue was closed.
Committed patchset #19 (id:340001) as
https://chromium.googlesource.com/v8/v8/+/5205b9db0659efc03f612e6ffc525b92262...

Powered by Google App Engine
This is Rietveld 408576698