Skip to content
  • mjs@apple.com's avatar
    2008-09-20 Maciej Stachowiak <mjs@apple.com> · 436e591e
    mjs@apple.com authored
            Reviewed by Darin.
            
            - assorted optimizations to === and !== operators
            (work towards <https://bugs.webkit.org/show_bug.cgi?id=20820>)
            
            2.5% speedup on earley-boyer test
    
            * VM/Machine.cpp:
            (JSC::Machine::cti_op_stricteq): Use inline version of
            strictEqualSlowCase; remove unneeded exception check.
            (JSC::Machine::cti_op_nstricteq): ditto
            * kjs/operations.cpp:
            (JSC::strictEqual): Use strictEqualSlowCaseInline
            (JSC::strictEqualSlowCase): ditto
            * kjs/operations.h:
            (JSC::strictEqualSlowCaseInline): Version of strictEqualSlowCase that can be inlined,
            since the extra function call indirection is a lose for CTI.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    436e591e