Reviewers: adamk,
Description:
Add %TypedArray% to proto chain
According to the ES6 spec, the main methods and getters shouldn't
be properties of the individual TypedArray objects and prototypes
but instead on %TypedArray% and %TypedArray%.prototype. This
difference is observable through introspection. This patch moves
some methods and getters to the proper place, with the exception
of %TypedArray%.prototype.subarray and harmony methods. These will
be moved in follow-on patches.
BUG=v8:4085
LOG=Y
R=adamk
Please review this at https://codereview.chromium.org/1186733002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+128, -83 lines):
M src/prologue.js
M src/runtime/runtime-function.cc
M src/runtime/runtime-object.cc
M src/typedarray.js
M test/mjsunit/es6/built-in-accessor-names.js
M test/mjsunit/get-prototype-of.js
M test/mjsunit/harmony/sharedarraybuffer.js
M test/mjsunit/harmony/typedarrays.js
M test/mjsunit/regress/regress-typedarray-length.js
--
--
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.