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

Issue 1132723008: Implement %TypedArray%.reverse (Closed)

Created:
5 years, 7 months ago by dehrenberg
Modified:
5 years, 7 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Implement %TypedArray%.reverse This patch adds the reverse method to TypedArrays, together with a test. The test also runs for normal Arrays, since I didn't see a test for reversing dense arrays. BUG=v8:3578 LOG=Y R=arv@chromium.org Committed: https://crrev.com/cc74268d30074934d7a40dd8256862b45dcbf0d8 Patch from Daniel Ehrenberg <dehrenberg@chromium.org>;. Cr-Commit-Position: refs/heads/master@{#28493}

Patch Set 1 #

Total comments: 6

Patch Set 2 : cleanups #

Total comments: 3

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -13 lines) Patch
M src/array.js View 1 4 chunks +19 lines, -12 lines 0 comments Download
M src/harmony-typedarray.js View 2 chunks +11 lines, -1 line 0 comments Download
A test/mjsunit/harmony/typedarray-reverse.js View 1 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
dehrenberg
5 years, 7 months ago (2015-05-19 00:52:16 UTC) #1
arv (Not doing code reviews)
https://codereview.chromium.org/1132723008/diff/1/src/array.js File src/array.js (right): https://codereview.chromium.org/1132723008/diff/1/src/array.js#newcode569 src/array.js:569: if (UseSparseVariant(array, len, IS_ARRAY(array), len)) { This is always ...
5 years, 7 months ago (2015-05-19 15:18:03 UTC) #2
dehrenberg
https://codereview.chromium.org/1132723008/diff/1/src/array.js File src/array.js (right): https://codereview.chromium.org/1132723008/diff/1/src/array.js#newcode569 src/array.js:569: if (UseSparseVariant(array, len, IS_ARRAY(array), len)) { On 2015/05/19 15:18:02, ...
5 years, 7 months ago (2015-05-19 16:22:26 UTC) #3
arv (Not doing code reviews)
https://codereview.chromium.org/1132723008/diff/20001/src/array.js File src/array.js (right): https://codereview.chromium.org/1132723008/diff/20001/src/array.js#newcode572 src/array.js:572: if (!IS_UNDEFINED(current_i) || i in array) { Add todos ...
5 years, 7 months ago (2015-05-19 16:37:25 UTC) #4
dehrenberg
https://codereview.chromium.org/1132723008/diff/20001/src/array.js File src/array.js (right): https://codereview.chromium.org/1132723008/diff/20001/src/array.js#newcode572 src/array.js:572: if (!IS_UNDEFINED(current_i) || i in array) { On 2015/05/19 ...
5 years, 7 months ago (2015-05-19 16:56:20 UTC) #5
arv (Not doing code reviews)
LGTM Lets get the right behavior first and then see what becomes hot. https://codereview.chromium.org/1132723008/diff/20001/src/array.js File ...
5 years, 7 months ago (2015-05-19 17:06:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132723008/20001
5 years, 7 months ago (2015-05-19 17:08:22 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/5827) v8_mac_rel on tryserver.v8 (JOB_FAILED, ...
5 years, 7 months ago (2015-05-19 17:10:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132723008/20001
5 years, 7 months ago (2015-05-19 18:41:09 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/5829)
5 years, 7 months ago (2015-05-19 18:42:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132723008/40001
5 years, 7 months ago (2015-05-19 22:01:11 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/513)
5 years, 7 months ago (2015-05-19 22:02:37 UTC) #19
adamk
Committed patchset #3 (id:40001) manually as cc74268d30074934d7a40dd8256862b45dcbf0d8 (presubmit successful).
5 years, 7 months ago (2015-05-20 00:39:26 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 00:39:28 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cc74268d30074934d7a40dd8256862b45dcbf0d8
Cr-Commit-Position: refs/heads/master@{#28493}

Powered by Google App Engine
This is Rietveld 408576698