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

Issue 2761453002: [typedarrays] Implement %TypedArray%.prototype.reverse 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/heads/master
Project:
v8
Visibility:
Public.

Description

[typedarrays] Implement %TypedArray%.prototype.reverse in C++ - Implement %TypedArray%prototype.reverse in builtins and ElementsAccessor to use std::reverse - Remove TypedArrayReverse in src/js/typedarray.js - Fix typo in comments BUG=v8:5929 Review-Url: https://codereview.chromium.org/2761453002 Cr-Commit-Position: refs/heads/master@{#44132} Committed: https://chromium.googlesource.com/v8/v8/+/1bf8becc637fd1cc833812a8bf0f1cf6ba6d3add

Patch Set 1 #

Patch Set 2 : Do not pass isolate #

Total comments: 2

Patch Set 3 : Use std::reverse #

Total comments: 2

Patch Set 4 : no handle #

Patch Set 5 : rebase #

Patch Set 6 : fix compile eror #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -14 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M src/builtins/builtins-typedarray.cc View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M src/elements.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/elements.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M src/js/array.js View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M src/js/typedarray.js View 1 2 3 4 5 6 4 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 34 (24 generated)
Choongwoo Han
ptal
3 years, 9 months ago (2017-03-17 12:04:08 UTC) #3
rongjie
https://codereview.chromium.org/2761453002/diff/20001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/2761453002/diff/20001/src/elements.cc#newcode2994 src/elements.cc:2994: } Why not try to use std::reverse on elements->DataPtr() ...
3 years, 9 months ago (2017-03-19 06:47:52 UTC) #5
Choongwoo Han
https://codereview.chromium.org/2761453002/diff/20001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/2761453002/diff/20001/src/elements.cc#newcode2994 src/elements.cc:2994: } On 2017/03/19 06:47:52, rongjie wrote: > Why not ...
3 years, 9 months ago (2017-03-19 09:30:31 UTC) #7
Camillo Bruni
lgtm https://codereview.chromium.org/2761453002/diff/40001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/2761453002/diff/40001/src/elements.cc#newcode1236 src/elements.cc:1236: static void ReverseImpl(Handle<JSObject> receiver) { UNREACHABLE(); } nit: ...
3 years, 9 months ago (2017-03-20 13:17:19 UTC) #8
Choongwoo Han
https://codereview.chromium.org/2761453002/diff/40001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/2761453002/diff/40001/src/elements.cc#newcode1236 src/elements.cc:1236: static void ReverseImpl(Handle<JSObject> receiver) { UNREACHABLE(); } On 2017/03/20 ...
3 years, 9 months ago (2017-03-20 13:54:21 UTC) #9
petermarshall
lgtm
3 years, 9 months ago (2017-03-20 14:30:17 UTC) #11
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/2761453002/100001
3 years, 9 months ago (2017-03-25 14:31:29 UTC) #22
commit-bot: I haz the power
Failed to apply patch for src/js/array.js: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-25 15:38:46 UTC) #24
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/2761453002/120001
3 years, 9 months ago (2017-03-25 16:03:20 UTC) #31
commit-bot: I haz the power
3 years, 9 months ago (2017-03-25 16:04:43 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/1bf8becc637fd1cc833812a8bf0f1cf6ba6...

Powered by Google App Engine
This is Rietveld 408576698