Support Smi->Double->HeapObject transitions in constructed Arrays.
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 9 Dec 2011 08:50:19 +0000 (08:50 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 9 Dec 2011 08:50:19 +0000 (08:50 +0000)
commitef54f5690f3321f23f9b8176043fc7e366f9b3d7
tree30076b49af65d96fd029ca510cbda1b2577a8a21
parent174532d23f8875c06e4880dfc3091a71c3a0aafe
Support Smi->Double->HeapObject transitions in constructed Arrays.

Also several bugs with Smi/double elements handling and make Ensure* routines more flexible.

BUG=none
TEST=test/mjsunit/array-construct-transition.js

Review URL: http://codereview.chromium.org/8820014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10218 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
src/arm/builtins-arm.cc
src/builtins.cc
src/elements.cc
src/elements.h
src/factory.cc
src/factory.h
src/ia32/builtins-ia32.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime.cc
src/x64/builtins-x64.cc
test/mjsunit/array-construct-transition.js [new file with mode: 0644]