Share literals arrays per <NativeContext, SharedFunctionInfo> pair.
authorishell <ishell@chromium.org>
Wed, 23 Sep 2015 08:46:09 +0000 (01:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 23 Sep 2015 08:46:28 +0000 (08:46 +0000)
commit4dd45e115be0122ee8b6ba1d9b3be5e86ea3b97c
tree98705bb76afc9b72643499da4ff9e50b488745ad
parentc602a91c1d40bbbde044ed1f72ca6470f60f07f7
Share literals arrays per <NativeContext, SharedFunctionInfo> pair.

This CL also renames wrongly named test for v8:4173.

BUG=v8:4121
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#30879}
src/code-stubs-hydrogen.cc
src/factory.cc
src/heap/mark-compact.cc
src/objects.cc
src/objects.h
test/mjsunit/array-natives-elements.js
test/mjsunit/regress/regress-4121.js
test/mjsunit/regress/regress-4173.js [new file with mode: 0644]