Refactor HCheckInstanceType to allow mask/tag tests.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 May 2011 14:17:23 +0000 (14:17 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 May 2011 14:17:23 +0000 (14:17 +0000)
commitc10267f1fa449bc193fd1b4ba0b928568b50e451
tree837ca213290ec312d5783e8c2a90441cfefa6078
parent4912c0371b3fa819e0c265b0e49708f10d723d43
Refactor HCheckInstanceType to allow mask/tag tests.

This allows us to get rid of totally fake LAST_STRING_TYPE and makes
it possible to test for symbols.

I considered splitting HCheckInstanceType into two instructions, but
it seems nice to be able to hide the instance type implementation
details from the hydrogen level.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/lithium-codegen-arm.cc
src/hydrogen-instructions.cc
src/hydrogen-instructions.h
src/hydrogen.cc
src/ia32/lithium-codegen-ia32.cc
src/objects-printer.cc
src/objects.h
src/x64/lithium-codegen-x64.cc