Implement a type recording ToBoolean IC.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 21 Jul 2011 13:51:04 +0000 (13:51 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 21 Jul 2011 13:51:04 +0000 (13:51 +0000)
commitf7138b1427aa300c836e7eb38cffa137b9656e5c
tree66c58664835f961ca9ddcd41a77dfe1967e46f91
parent0b55f28e34d55869984e4b58e4e6c15fa0784f5b
Implement a type recording ToBoolean IC.

The IC records the set of types it has seen, e.g. {String} or {Boolean,
Undefined}, etc.  Note that in theory this could lead to a large number of
different ToBoolean ICs (512, to be exact, because we distinguish 9 types),
but in practice only a small handful of them are actually generated.

Currently the type recording part is only implemented on ia32, other platforms
continue to work like they did before, though.

Removed some dead code on the way.
Review URL: http://codereview.chromium.org/7473028

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8716 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/code-stubs.cc
src/code-stubs.h
src/debug.cc
src/ia32/code-stubs-ia32.cc
src/ic.cc
src/ic.h
src/log.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/spaces.cc