Move logic for hidden properties into the JSObject.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Oct 2011 07:45:25 +0000 (07:45 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Oct 2011 07:45:25 +0000 (07:45 +0000)
commit8e31371d0ee5d7cf8038c7afdecde759166c7911
tree9db136ac43dff287912c72e779e667eabb0e427a
parent4750f0c3cd661128c4ecf22e8ea6cc06efec137d
Move logic for hidden properties into the JSObject.

Previously, the logic using the hidden properties backing object was
spread accross use sites. Now it's all contained in JSObject, with
only simple accessors available.
Also change the backing object to be a StringDictionary rather than a JSObject.
There's still room for improvement by making a hash-table that don't
store property details as well.

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

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