Fix performance regression due to elements refactor
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 3 Aug 2011 12:42:04 +0000 (12:42 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 3 Aug 2011 12:42:04 +0000 (12:42 +0000)
commita2eaf852a9622583c85e668ba3b1ec93f9a1b96d
tree64b5bc6c313d8515e770a257fa5823f696b0749d
parent1d414cd99c64b57855a7e24ae2f362ffe239b943
Fix performance regression due to elements refactor

Consolidate the runtime logic for fetching elements from Objects and JSObjects so that element access in the GetElement cases that are not handled in generated code.

R=svenpanne@chromium.org
BUG=none
TEST=closure.js test faster

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects.cc
src/objects.h