Refactoring only: Make the handling of PropertyType more explicit.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 8 Nov 2011 08:42:13 +0000 (08:42 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 8 Nov 2011 08:42:13 +0000 (08:42 +0000)
commit36b715b1bdecb9b38f8104a1fa6f95da5e37ff9e
treeae89c54329f062b7dbf9c0c0f35311af04525569
parentb9a2d181a1c081409370458a23d27230f852349d
Refactoring only: Make the handling of PropertyType more explicit.

Do not rely on 'default' clauses or 'if's when analysing a PropertyType, because
this makes it hard to find the relevant places when a new type is added. Note
that the detection of "phantom property types" is left untouched, because this
might have a performance impact, especially for the GC (to be investigated).

This is a preliminary step for introducing a new kind of map transition.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9900 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ic.cc
src/objects-inl.h
src/objects-printer.cc
src/objects.cc
src/objects.h
src/property.h
src/runtime.cc
src/v8globals.h