X87: Refactor HType to get rid of various hacks.
authorweiliang.lin@intel.com <weiliang.lin@intel.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 29 May 2014 13:11:55 +0000 (13:11 +0000)
committerweiliang.lin@intel.com <weiliang.lin@intel.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 29 May 2014 13:11:55 +0000 (13:11 +0000)
commit232ddd97562f4a45404c967dbe8fc123de4b31f4
tree2c02636bcd19d1eb0c8a3b1dd013d9e418c16d77
parente9357a5e7795f7436b633ba24babcc5d574bd3af
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
src/x87/lithium-codegen-x87.cc
src/x87/lithium-x87.cc