X87: Refactor HType to get rid of various hacks.
port r21578 (dcf13aa)
Original commit message:
- Move HType to it's own file.
- Add HType::HeapObject and some other useful types.
- Get rid of the broken and useless HType::NonPrimitive.
- Introduce HType::FromType() to convert from HeapType to HType.
- Also add unit tests for HType.
- Fix types in Crankshaft.
BUG=
Review URL: https://codereview.chromium.org/
307903002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21579
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00