• kmccullough@apple.com's avatar
    2008-05-13 Kevin McCullough <kmccullough@apple.com> · 1bed34e6
    kmccullough@apple.com authored
            Reviewed by Sam.
    
            <rdar://problem/5770054> JavaScript profiler (10928)
            - Made some functions static (as per Adam) and changed from using raw
            pointers to RefPtr for making these JavaScript Objects.
    
            * profiler/FunctionCallProfile.cpp:
            (KJS::FunctionCallProfile::addChild):
            (KJS::FunctionCallProfile::findChild):
            * profiler/FunctionCallProfile.h:
            (KJS::FunctionCallProfile::create):
            * profiler/Profile.cpp:
            (KJS::Profile::Profile):
            (KJS::Profile::willExecute):
            (KJS::Profile::didExecute):
            (KJS::functionNameCountPairComparator):
            * profiler/Profile.h:
            (KJS::Profile::create):
            (KJS::Profile::title):
            (KJS::Profile::callTree):
            * profiler/Profiler.cpp:
            (KJS::Profiler::startProfiling):
            * profiler/Profiler.h:
            (KJS::Profiler::allProfiles):
            (KJS::Profiler::clearProfiles):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1bed34e6
ChangeLog 566 KB