Inline ordered relational compares of mixed double/undefined values.
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 Mar 2012 13:40:14 +0000 (13:40 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 Mar 2012 13:40:14 +0000 (13:40 +0000)
commit57a0c6c6e33cb444ef08b7f7c7d4abc7901a703e
tree37b987164dace1c97442e2de1b8e5471f635e996
parent751d53d9d2806600029c85e810fcbe2c22401e4b
Inline ordered relational compares of mixed double/undefined values.

Allow Crankshaft to inline ordered relational comparisons (<, >, <=, >=) that have undefined arguments in addition to double value arguments (rather than calling the generic Compare stub).

R=fschneider@chromium.org
TEST=test/mjsunit/comparison-ops-and-undefined.js

Review URL: https://chromiumcodereview.appspot.com/9584006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10905 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/code-stubs-arm.cc
src/hydrogen-instructions.cc
src/ia32/code-stubs-ia32.cc
src/ic.cc
src/token.h
src/x64/code-stubs-x64.cc
test/mjsunit/comparison-ops-and-undefined.js [new file with mode: 0644]