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

Issue 2761673003: [typedarrays] Use internal byteOffset in TypedArray.prototype.set (Closed)

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

Description

Use internal byteOffset in TypedArray.prototype.set Since byteOffset is configurable, we need to access byteOffset by %_ArrayBufferViewGetByteOffset, instead of accessing .byteOffset property. BUG=v8:6120 Review-Url: https://codereview.chromium.org/2761673003 Cr-Commit-Position: refs/heads/master@{#44347} Committed: https://chromium.googlesource.com/v8/v8/+/8c2af0379130b31bc244ed811760553dfbd307a0

Patch Set 1 #

Total comments: 2

Patch Set 2 : make test for test262 #

Total comments: 2

Patch Set 3 : copyright 2017 #

Patch Set 4 : path #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -6 lines) Patch
M src/js/typedarray.js View 2 chunks +7 lines, -6 lines 0 comments Download
A test/test262/local-tests/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A test/test262/local-tests/test/built-ins/TypedArray/prototype/set/typedarray-arg-target-byteoffset-internal.js View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
Choongwoo Han
PTAL
3 years, 9 months ago (2017-03-20 02:29:05 UTC) #3
Choongwoo Han
littledan@, Can you take a look?
3 years, 8 months ago (2017-03-31 23:12:55 UTC) #5
Dan Ehrenberg
lgtm Thanks for the fix! https://codereview.chromium.org/2761673003/diff/1/test/mjsunit/es6/typedarray-set-byteoffset-internal.js File test/mjsunit/es6/typedarray-set-byteoffset-internal.js (right): https://codereview.chromium.org/2761673003/diff/1/test/mjsunit/es6/typedarray-set-byteoffset-internal.js#newcode35 test/mjsunit/es6/typedarray-set-byteoffset-internal.js:35: } These tests are ...
3 years, 8 months ago (2017-04-03 09:39:24 UTC) #8
Choongwoo Han
https://codereview.chromium.org/2761673003/diff/1/test/mjsunit/es6/typedarray-set-byteoffset-internal.js File test/mjsunit/es6/typedarray-set-byteoffset-internal.js (right): https://codereview.chromium.org/2761673003/diff/1/test/mjsunit/es6/typedarray-set-byteoffset-internal.js#newcode35 test/mjsunit/es6/typedarray-set-byteoffset-internal.js:35: } On 2017/04/03 09:39:24, Dan Ehrenberg wrote: > These ...
3 years, 8 months ago (2017-04-03 11:43:38 UTC) #11
Dan Ehrenberg
On 2017/04/03 11:43:38, Choongwoo Han wrote: > https://codereview.chromium.org/2761673003/diff/1/test/mjsunit/es6/typedarray-set-byteoffset-internal.js > File test/mjsunit/es6/typedarray-set-byteoffset-internal.js (right): > > https://codereview.chromium.org/2761673003/diff/1/test/mjsunit/es6/typedarray-set-byteoffset-internal.js#newcode35 ...
3 years, 8 months ago (2017-04-03 12:02:33 UTC) #12
Choongwoo Han
Pushed new tests for test262. Can you take another look?
3 years, 8 months ago (2017-04-03 14:34:29 UTC) #17
Dan Ehrenberg
lgtm Looks great! Thanks for taking the time to redo it this way. https://codereview.chromium.org/2761673003/diff/20001/test/test262/local-tests/test/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js File ...
3 years, 8 months ago (2017-04-03 14:37:27 UTC) #18
Choongwoo Han
thanks https://codereview.chromium.org/2761673003/diff/20001/test/test262/local-tests/test/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js File test/test262/local-tests/test/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js (right): https://codereview.chromium.org/2761673003/diff/20001/test/test262/local-tests/test/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js#newcode1 test/test262/local-tests/test/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js:1: // Copyright 2016 the V8 project authors. All ...
3 years, 8 months ago (2017-04-03 14:40:11 UTC) #19
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/2761673003/60001
3 years, 8 months ago (2017-04-03 15:20:05 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 15:21:26 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/8c2af0379130b31bc244ed811760553dfbd...

Powered by Google App Engine
This is Rietveld 408576698