• fpizlo@apple.com's avatar
    Rename Profiler to LegacyProfiler · 77ea29ad
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=104031
    
    Rubber stamped by Mark Hahnenberg
    
    Source/JavaScriptCore: 
    
    Make room in the namespace for https://bugs.webkit.org/show_bug.cgi?id=102999.
    
    * API/JSProfilerPrivate.cpp:
    (JSStartProfiling):
    (JSEndProfiling):
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * Target.pri:
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::throwException):
    (JSC::Interpreter::execute):
    (JSC::Interpreter::executeCall):
    (JSC::Interpreter::executeConstruct):
    * jit/JIT.h:
    * jit/JITCode.h:
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION):
    * jit/JITStubs.h:
    (JSC):
    * llint/LLIntSlowPaths.cpp:
    (JSC::LLInt::LLINT_SLOW_PATH_DECL):
    * profiler/LegacyProfiler.cpp: Added.
    (JSC):
    (JSC::LegacyProfiler::profiler):
    (JSC::LegacyProfiler::startProfiling):
    (JSC::LegacyProfiler::stopProfiling):
    (JSC::dispatchFunctionToProfiles):
    (JSC::LegacyProfiler::willExecute):
    (JSC::LegacyProfiler::didExecute):
    (JSC::LegacyProfiler::exceptionUnwind):
    (JSC::LegacyProfiler::createCallIdentifier):
    (JSC::createCallIdentifierFromFunctionImp):
    * profiler/LegacyProfiler.h: Added.
    (JSC):
    (LegacyProfiler):
    (JSC::LegacyProfiler::currentProfiles):
    * profiler/ProfileGenerator.cpp:
    (JSC::ProfileGenerator::addParentForConsoleStart):
    * profiler/ProfileNode.cpp:
    * profiler/Profiler.cpp: Removed.
    * profiler/Profiler.h: Removed.
    * runtime/JSGlobalData.h:
    (JSC):
    (JSC::JSGlobalData::enabledProfiler):
    (JSGlobalData):
    * runtime/JSGlobalObject.cpp:
    (JSC::JSGlobalObject::~JSGlobalObject):
    
    Source/WebCore: 
    
    Just renaming, no new tests.
    
    * ForwardingHeaders/profiler/LegacyProfiler.h: Copied from Source/WebCore/ForwardingHeaders/profiler/Profiler.h.
    * ForwardingHeaders/profiler/Profiler.h: Removed.
    * bindings/js/ScriptProfiler.cpp:
    (WebCore::ScriptProfiler::start):
    (WebCore::ScriptProfiler::stop):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    77ea29ad
ScriptProfiler.cpp 3.2 KB