Force transition to FAST_ELEMENTS on out-of-bounds KeyedLoads.
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 28 Oct 2011 10:35:38 +0000 (10:35 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 28 Oct 2011 10:35:38 +0000 (10:35 +0000)
commit6d7d6d4e4efa4cc111d14846be9947ef1e7b0f98
tree3dbaf7a2bdb8c2de19916f122b53737e06814da1
parenta9a97d010e1abd19d0fcb0353269241a81832ae1
Force transition to FAST_ELEMENTS on out-of-bounds KeyedLoads.

Proactively ensure that that objects don't get FAST_DOUBLE_ELEMENTS to reduce the number of double boxing operations when generated code calls the runtime frequently to satisfy KeyedLoad requests.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9833 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
test/mjsunit/unbox-double-arrays.js