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

Issue 2761783002: Always run our fast array builtins. (Closed)

Created:
3 years, 9 months ago by mvstanton
Modified:
3 years, 7 months ago
Reviewers:
danno, Yang
CC:
v8-reviews_googlegroups.com, Michael Hablich
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Always run our fast array builtins. Before, we carefully turned on fast array builtins only if flag --enable-fast-array-builtins was true (though it was implied true if --turbo was on). Now, the set of Array.prototype.{some, forEach, every, reduce} is good enough to always turn them on. This means we can remove the JavaScript implementations. The flag is renamed to --experimental-fast-array-builtins, which is off. In the next days we'll add more non-javascript implementations here for testing. BUG= R=danno@chromium.org Review-Url: https://codereview.chromium.org/2761783002 Cr-Commit-Position: refs/heads/master@{#44026} Committed: https://chromium.googlesource.com/v8/v8/+/1fe5f0e3adcc447260d8ce88e01f6482eb9d9725

Patch Set 1 #

Patch Set 2 : REBASE. #

Total comments: 4

Patch Set 3 : Fix rebase error. #

Patch Set 4 : Fixes and rebase. #

Patch Set 5 : Make sure the strict map is used. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -183 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 6 chunks +52 lines, -15 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M src/js/array.js View 1 2 3 7 chunks +0 lines, -136 lines 0 comments Download
M src/js/typedarray.js View 1 2 3 8 chunks +71 lines, -13 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
mvstanton
Hi Danno, Here is the CL we discussed, thx for the look! --Michael
3 years, 9 months ago (2017-03-20 12:27:38 UTC) #3
danno
lgtm
3 years, 9 months ago (2017-03-20 12:30:17 UTC) #4
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/2761783002/1
3 years, 9 months ago (2017-03-20 14:46:01 UTC) #8
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/37131)
3 years, 9 months ago (2017-03-20 14:50:45 UTC) #10
mvstanton
Hi Yang, could you review the /src/js changes? Thanks, --Michael
3 years, 9 months ago (2017-03-20 14:53:59 UTC) #12
Yang
https://codereview.chromium.org/2761783002/diff/20001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2761783002/diff/20001/src/bootstrapper.cc#newcode4935 src/bootstrapper.cc:4935: InstallFastArrayBuiltins(); This seems wrong. We would install these builtins ...
3 years, 9 months ago (2017-03-20 15:00:24 UTC) #15
mvstanton
Hi Yang, can you have another look. I followed the plan we outlined, thanks! --Michael ...
3 years, 9 months ago (2017-03-21 21:15:47 UTC) #21
Yang
On 2017/03/21 21:15:47, mvstanton wrote: > Hi Yang, can you have another look. I followed ...
3 years, 9 months ago (2017-03-22 10:21:39 UTC) #24
r52537455
Yea you are right.This is really fast array.I will surely use this codes to my ...
3 years, 9 months ago (2017-03-22 12:42:41 UTC) #25
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/2761783002/80001
3 years, 9 months ago (2017-03-22 13:12:23 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/v8/v8/+/1fe5f0e3adcc447260d8ce88e01f6482eb9d9725
3 years, 9 months ago (2017-03-22 13:37:33 UTC) #31
fhraz123
3 years, 7 months ago (2017-05-10 17:20:06 UTC) #32
Message was sent while issue was closed.
On 2017/03/22 13:37:33, commit-bot: I haz the power wrote:
> Committed patchset #5 (id:80001) as
>
https://chromium.googlesource.com/v8/v8/+/1fe5f0e3adcc447260d8ce88e01f6482eb9...

Good post! I will use this code for my website: htt://fhraz.com (Home
Remodeling)

Powered by Google App Engine
This is Rietveld 408576698