Allocate room for expected number of properties based on the
authoriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 15 Oct 2008 06:03:26 +0000 (06:03 +0000)
committeriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 15 Oct 2008 06:03:26 +0000 (06:03 +0000)
commitd09fcf70b7d7715172bc3b2074b61f0b921bf14a
tree50bc57ff997403cfd4e9d310b80a486b345fbf6c
parent09abba56ff9b17722d7ebb4f733e951de862011e
Allocate room for expected number of properties based on the
constructor in the JSObject. This removes the need to allocate
a properties array if the object is never assigned any extra
properties.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@501 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/bootstrapper.cc
src/builtins-ia32.cc
src/heap.cc
src/objects-debug.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime.cc
src/string-stream.cc
src/stub-cache-arm.cc
src/stub-cache-ia32.cc