Inlined a few math operations.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-29
Reviewed by Gavin Barraclough.
~1% SunSpider speedup.
* jit/JIT.h:
* jit/JITArithmetic.cpp:
(JSC::JIT::compileBinaryArithOpSlowCase):
(JSC::JIT::emitSlow_op_add):
(JSC::JIT::emitSlow_op_mul):
(JSC::JIT::emit_op_sub):
(JSC::JIT::emitSlow_op_sub): Don't take a stub call when operating on
a constant int and a double.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3 files changed