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

Issue 2205883003: Reland [builtins] implement Array.prototype.includes in TurboFan (Closed)

Created:
4 years, 4 months ago by caitp
Modified:
4 years, 3 months ago
CC:
v8-reviews_googlegroups.com, Dan Ehrenberg, adamk
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Reland [builtins] implement Array.prototype.includes in TurboFan BUG=v8:5162 R=bmeurer@chromium.org, cbruni@chromium.org Committed: https://crrev.com/0c76b0ae850027006d5ec0d92449e449d996d3bb Cr-Commit-Position: refs/heads/master@{#38266}

Patch Set 1 #

Patch Set 2 : Fix compiler warning #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+1886 lines, -152 lines) Patch
M src/builtins/builtins.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins-array.cc View 4 chunks +484 lines, -16 lines 0 comments Download
M src/code-stub-assembler.h View 1 chunk +16 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 chunk +210 lines, -0 lines 5 comments Download
M src/code-stubs.cc View 1 chunk +2 lines, -72 lines 0 comments Download
M src/compiler/code-assembler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/code-assembler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/elements.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/elements.cc View 7 chunks +369 lines, -7 lines 0 comments Download
M src/factory.h View 1 chunk +10 lines, -0 lines 0 comments Download
M src/js/array.js View 3 chunks +1 line, -43 lines 0 comments Download
M src/js/typedarray.js View 3 chunks +23 lines, -3 lines 0 comments Download
M src/objects.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +14 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime/runtime-array.cc View 1 3 chunks +104 lines, -4 lines 0 comments Download
A test/mjsunit/es7/array-includes-receiver.js View 1 chunk +634 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Camillo Bruni
lgtm
4 years, 4 months ago (2016-08-02 14:18:09 UTC) #1
caitp
PTAL --- Could someone run a try on client.v8.ports / gyp_release_arm?
4 years, 4 months ago (2016-08-02 14:18:24 UTC) #2
Michael Achenbach
We don't have a trybot for this. Just land and see...
4 years, 4 months ago (2016-08-02 14:39:44 UTC) #3
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/2205883003/20001
4 years, 4 months ago (2016-08-02 14:40:22 UTC) #5
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/20778)
4 years, 4 months ago (2016-08-02 14:47:58 UTC) #7
caitp
On 2016/08/02 14:47:58, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-08-02 14:49:09 UTC) #8
Benedikt Meurer
lgtm
4 years, 4 months ago (2016-08-03 03:25:10 UTC) #10
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/2205883003/20001
4 years, 4 months ago (2016-08-03 03:25:19 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-03 03:27:04 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0c76b0ae850027006d5ec0d92449e449d996d3bb Cr-Commit-Position: refs/heads/master@{#38266}
4 years, 4 months ago (2016-08-03 03:27:54 UTC) #14
Igor Sheludko
https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler.cc#newcode518 src/code-stub-assembler.cc:518: Node* b_instance_type = LoadInstanceType(b_map); DBC: this should be a ...
4 years, 3 months ago (2016-09-22 12:06:00 UTC) #16
Igor Sheludko
https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler.cc#newcode474 src/code-stub-assembler.cc:474: void CodeStubAssembler::BranchIfSameValueZero(Node* a, Node* b, Node* context, Why did ...
4 years, 3 months ago (2016-09-23 11:00:03 UTC) #17
caitp
https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler.cc#newcode474 src/code-stub-assembler.cc:474: void CodeStubAssembler::BranchIfSameValueZero(Node* a, Node* b, Node* context, On 2016/09/23 ...
4 years, 3 months ago (2016-09-23 11:26:49 UTC) #18
Igor Sheludko
4 years, 3 months ago (2016-09-23 11:30:56 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler.cc
File src/code-stub-assembler.cc (right):

https://codereview.chromium.org/2205883003/diff/20001/src/code-stub-assembler...
src/code-stub-assembler.cc:518: Node* b_instance_type = LoadInstanceType(b_map);
On 2016/09/23 11:26:49, caitp wrote:
> On 2016/09/22 12:06:00, Igor Sheludko wrote:
> > DBC: this should be a LoadMapInstanceType().
> 
> This had been fixed in a followup (https://codereview.chromium.org/2207903002)
> --- it probably means the test coverage for A.p.includes isn't good enough,
but
> at least clusterfuzz caught it

This code is sill in the tree although the BranchIfSameValueZero() function is
not used.

Powered by Google App Engine
This is Rietveld 408576698