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

Issue 2744283002: [typedarrays] Implement %TypedArray%.prototype.lastIndexOf in C++ (Closed)

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

Description

[typedarrays] Implement %TypedArray%.prototype.lastIndexOf in C++ - Implement C++ builtins and ElementsAccessor for %TypedArray%.prototype.lastIndexOf - Remove TypedArrayLastIndexOf in src/js/typedarray.js - Combine InnerArrayLastIndexOf and ArrayLastIndexOf in src/js/array.js BUG=v8:5929 Review-Url: https://codereview.chromium.org/2744283002 Cr-Commit-Position: refs/heads/master@{#43870} Committed: https://chromium.googlesource.com/v8/v8/+/da1bddcd75319d65e98e0eaacbe7904228f48cbc

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move neutering check to DCHECK, and properly get the first arg #

Patch Set 3 : make win happy #

Patch Set 4 : Use uint32_t for indexing #

Patch Set 5 : correct negative indexing #

Patch Set 6 : Add comments #

Patch Set 7 : Correct integral value check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -53 lines) Patch
M src/bootstrapper.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins-typedarray.cc View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M src/elements.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/elements.cc View 1 2 3 4 5 6 2 chunks +55 lines, -0 lines 0 comments Download
M src/js/array.js View 3 chunks +7 lines, -12 lines 0 comments Download
M src/js/typedarray.js View 2 chunks +0 lines, -41 lines 0 comments Download
M test/mjsunit/es6/typedarray-indexing.js View 1 2 3 4 5 6 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (31 generated)
Choongwoo Han
PTAL
3 years, 9 months ago (2017-03-13 14:41:47 UTC) #3
Camillo Bruni
lgtm https://codereview.chromium.org/2744283002/diff/1/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/2744283002/diff/1/src/elements.cc#newcode2936 src/elements.cc:2936: DisallowHeapAllocation no_gc; I think we can just do ...
3 years, 9 months ago (2017-03-14 09:58:21 UTC) #4
Choongwoo Han
https://codereview.chromium.org/2744283002/diff/1/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/2744283002/diff/1/src/elements.cc#newcode2936 src/elements.cc:2936: DisallowHeapAllocation no_gc; On 2017/03/14 09:58:21, Camillo Bruni wrote: > ...
3 years, 9 months ago (2017-03-14 16:12:31 UTC) #5
Choongwoo Han
There are additional minor changes and bug fixes. - Use `do while` to iterate elements. ...
3 years, 9 months ago (2017-03-15 06:55:22 UTC) #30
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/2744283002/120001
3 years, 9 months ago (2017-03-16 15:59:47 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/v8/v8/+/da1bddcd75319d65e98e0eaacbe7904228f48cbc
3 years, 9 months ago (2017-03-16 16:28:07 UTC) #36
cbruni
You should wait for the other reviewers to LGTM as well before landing.
3 years, 9 months ago (2017-03-16 20:47:36 UTC) #38
Choongwoo Han
3 years, 9 months ago (2017-03-17 07:30:05 UTC) #39
Message was sent while issue was closed.
On 2017/03/16 20:47:36, cbruni wrote:
> You should wait for the other reviewers to LGTM as well before landing.

Sorry for that. I was too hasty, and it was a wrong decision. Commonly, do I
need to wait LGTM from all reviewers? I'll be careful next time. Please revert
this commit if needed.

Powered by Google App Engine
This is Rietveld 408576698