Pass the complete number type information into the GenericBinaryOpStub.
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Feb 2010 13:03:16 +0000 (13:03 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Feb 2010 13:03:16 +0000 (13:03 +0000)
commitfc67ad346a66cdd5d174b6039107f667afdf5388
tree08419dae61b165512078125e61f855469498711f
parent8f3ae5b60acb7fc27fc6fe6f9be61fb9922820fb
Pass the complete number type information into the GenericBinaryOpStub.

Currently we only pass a boolean parameter indicating whether
the input operands to the GenericBinaryOpStub are guaranteed
to be numbers or not.

Instead we pass the complete number type as a parameters. This
allows to use more precise type information for code generation
in the stub.

Also make the computation of the result type more precise and correct on both ia32 and x64.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3873 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/codegen.h
src/frame-element.cc
src/frame-element.h
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/number-info.h
src/x64/codegen-x64.cc
src/x64/codegen-x64.h