Skip to content
  • darin's avatar
    - simplified the ExecState class, which was showing up in profiles · 3e1ce6e5
    darin authored
            Sped up JavaScript iBench by 6%.
    
            * kjs/interpreter.h: Removed the level of indirection, and made it all inline.
            * kjs/interpreter.cpp: Removed ExecState implementation from here altogether.
    
    	- fixed an oversight in my sort speedup
    
            * kjs/array_object.h: Add pushUndefinedObjectsToEnd.
            * kjs/array_object.cpp:
            (ArrayInstanceImp::sort): Call pushUndefinedObjectsToEnd.
            (ArrayInstanceImp::pushUndefinedObjectsToEnd): Added.
    	Pushes all undefined to the end of the array.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3e1ce6e5