Skip to content
  • mjs@apple.com's avatar
    2008-09-23 Maciej Stachowiak <mjs@apple.com> · db29af29
    mjs@apple.com authored
            Reviewed by Cameron Zwarich.
    
            - inline the fast cases of !==, same as for ===
            
            2.9% speedup on EarleyBoyer benchmark
    
            * VM/CTI.cpp:
            (JSC::CTI::compileOpStrictEq): Factored stricteq codegen into this function,
            and parameterized so it can do the reverse version as well.
            (JSC::CTI::privateCompileMainPass): Use the above for stricteq and nstricteq.
            * VM/CTI.h:
            (JSC::CTI::): Declare above stuff.
            * VM/Machine.cpp:
            (JSC::Machine::cti_op_nstricteq): Removed fast cases, now handled inline.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    db29af29