Comment #2 on issue 4090 by [email protected]: TypedArray constructor
doesn't work on iterables
https://code.google.com/p/v8/issues/detail?id=4090#c2
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/40420f67e7fb029a1379882f95023afaa19fa7a0
commit 40420f67e7fb029a1379882f95023afaa19fa7a0
Author: littledan <[email protected]>
Date: Mon Jun 15 18:54:27 2015
Allow TypedArrays to be initialized with iterables
In ES6, the TypedArray constructor can be called either with an
array-like object or an iterable. The code previously handled
only array-like objects. This patch switches to supporting
iterables while throwing in an optimization to make Arrays
get allocated the old way, without an extra copy.
BUG=v8:4090
LOG=Y
R=adamk
Review URL: https://codereview.chromium.org/1181903003
Cr-Commit-Position: refs/heads/master@{#29031}
[modify]
http://crrev.com/40420f67e7fb029a1379882f95023afaa19fa7a0/src/typedarray.js
[modify]
http://crrev.com/40420f67e7fb029a1379882f95023afaa19fa7a0/test/mjsunit/harmony/typedarrays.js
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.