Use GetProperty for getting elements.
authorverwaest <verwaest@chromium.org>
Tue, 2 Jun 2015 10:42:16 +0000 (03:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Jun 2015 10:42:29 +0000 (10:42 +0000)
commit2fb894fa586485adbf8aec3a6101b6dd35573002
tree1b2091bede9ed6143d5c811394ae74c82b13221e
parentd9ee1d6ffb03242cf2c4cac551ed05c44e3f57ad
Use GetProperty for getting elements.

This also fixes issues with
- kMaxUint32 being a valid length but not index cornercases
- exotic integer objects masking "exotic indexes" even though its in the prototype chain
- concating of holey sloppy arguments

BUG=v8:4137
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#28754}
26 files changed:
src/api.cc
src/array.js
src/builtins.cc
src/compiler/js-typed-lowering.cc
src/elements.cc
src/elements.h
src/ic/ic.cc
src/json-parser.h
src/json-stringifier.h
src/lookup-inl.h
src/lookup.cc
src/lookup.h
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime/runtime-array.cc
src/runtime/runtime-classes.cc
src/runtime/runtime-debug.cc
src/runtime/runtime-typedarray.cc
src/utils.h
test/cctest/test-api-interceptors.cc
test/cctest/test-api.cc
test/mjsunit/enumeration-order.js
test/mjsunit/es6/indexed-integer-exotics.js
test/mjsunit/regress/regress-581.js
test/mjsunit/regress/regress-splice-large-index.js