Skip to content
  • ap@webkit.org's avatar
    Reviewed by Darin. · ac51bdf2
    ap@webkit.org authored
            Get rid of static compareWithCompareFunctionArguments in array_instance.cpp.
    
            No change on SunSpider, CelticKane or iBench JavaScript. It is probable that in some cases,
            merge sort is still faster, but more investigation is needed to determine a new cutoff.
            Or possibly, it would be better to do what FIXME says (change to tree sort).
    
            Also, made arguments a local variable - not sure why it was a member of
            CompareWithCompareFunctionArguments.
    
            * kjs/array_instance.cpp:
            (KJS::CompareWithCompareFunctionArguments::CompareWithCompareFunctionArguments):
            (KJS::CompareWithCompareFunctionArguments::operator()):
            (KJS::ArrayInstance::sort):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ac51bdf2