Skip to content
  • ggaren@apple.com's avatar
    Inlined a few math operations. · 71adc78b
    ggaren@apple.com authored
            
    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
    71adc78b