Skip to content
  • mjs's avatar
    Separated Completion from Value and made it a pure stack · 5cf37c86
    mjs authored
    	object. This removed another 160,000 of the remaining 580,000
    	garbage collected object allocations.
    
    	6% speed increas on cvs-js-performance test.
    
            * kjs/completion.cpp: Added. New implementation that doesn't
    	require a ValueImp *.
            (Completion::Completion):
            (Completion::complType):
            (Completion::value):
            (Completion::target):
            (Completion::isValueCompletion):
            * kjs/completion.h: Added.
            * kjs/function.cpp:
    	(GlobalFuncImp::call): Removed some (apparently mistaken) uses of
    	Completion as a Value.
            * kjs/internal.cpp:
            * kjs/internal.h:
            * kjs/types.cpp: Removed Completion stuff.
            * kjs/types.h: Removed Completion stuff.
            * JavaScriptCore.pbproj/project.pbxproj: Added new header.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5cf37c86