Fix BinaryOpIC implementation on ARM.
authorkaznacheev@chromium.org <kaznacheev@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Apr 2010 10:08:24 +0000 (10:08 +0000)
committerkaznacheev@chromium.org <kaznacheev@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Apr 2010 10:08:24 +0000 (10:08 +0000)
commit3ca99e722bd1f4c840051c014f7f419fb5d0f1c4
tree0daf4968eb797d8ee2cc5998789e788b701a51fc
parent6f34ff44e3c9213c30556fd3fe65d541111c55d7
Fix BinaryOpIC implementation on ARM.

On a pair of smis HEAP_NUMBERS stub is significantly slower than GENERIC. This slows
down some tests dramatically (crypto-aes from SunSpider).
With this change HEAP_NUMBERS stub switches to GENERIC stub the first time it sees 2 smis
as its operands.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4483 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/codegen-arm.cc