Do not explicitly record undetectable objects in the ToBoolean stub.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Jul 2011 12:42:40 +0000 (12:42 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Jul 2011 12:42:40 +0000 (12:42 +0000)
commit73f8cec70e550149278652df6ecd3fd9428089ec
treed48c2b5ec71a0e5a215a4c54156b2719fccf4adc
parentc081c550d60e1be8054e3211dd308758360926ad
Do not explicitly record undetectable objects in the ToBoolean stub.

Loading the map within the stub already implies a check for an undetectable
object, so there is no need to record this separately. Furthermore, this brings
the size of the type info to record down to 8 bits, removing the need to find a
place for the ninth bit in the Code object. ;-)
Review URL: http://codereview.chromium.org/7484022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/code-stubs.cc
src/code-stubs.h
src/ia32/code-stubs-ia32.cc