Revert of Add %TypedArray% to proto chain (patchset #6 id:100001 of https://coderevie...
authormachenbach <machenbach@chromium.org>
Wed, 17 Jun 2015 09:05:34 +0000 (02:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Jun 2015 09:05:51 +0000 (09:05 +0000)
commitb4d3e1ceba6553b1a10326965f28f46a6653489e
tree7af5f737d297583115612087911f961f72158647
parentd4a74f08d29684ba50362fb78c5a716b1f44e6cb
Revert of Add %TypedArray% to proto chain (patchset #6 id:100001 of https://codereview.chromium.org/1186733002/)

Reason for revert:
[Sheriff] Changes layout tests:
http://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2032/builds/429

See e.g.:
https://storage.googleapis.com/chromium-layout-test-archives/V8-Blink_Linux_32/429/layout-test-results/inspector/console/console-big-array-pretty-diff.html

Please upload a blink side needsmanualrebaseline change first for these tests if the change is intended. Please also add a blink trybot on a reland of this CL.

Original issue's 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
>
> Committed: https://crrev.com/a10590158260737b256fac3254b4939f48f90095
> Cr-Commit-Position: refs/heads/master@{#29057}

TBR=adamk@chromium.org,arv@chromium.org,littledan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:4085

Review URL: https://codereview.chromium.org/1192433003

Cr-Commit-Position: refs/heads/master@{#29070}
src/harmony-typedarray.js
src/runtime/runtime-function.cc
src/runtime/runtime-object.cc
src/typedarray.js
test/mjsunit/es6/built-in-accessor-names.js
test/mjsunit/get-prototype-of.js
test/mjsunit/harmony/sharedarraybuffer.js
test/mjsunit/harmony/typedarrays-of.js
test/mjsunit/harmony/typedarrays.js
test/mjsunit/regress/regress-typedarray-length.js