Changeset 200924 in webkit for trunk/Source/JavaScriptCore/parser/ParserModes.h
- Timestamp:
- May 14, 2016, 3:17:13 PM (9 years ago)
- Author:
- [email protected]
- Message:
-
Remove LegacyProfiler
https://bugs.webkit.org/show_bug.cgi?id=153565
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-05-14
Reviewed by Mark Lam.
.:
- ManualTests/inspector/profiler-test-call.html: Removed.
- ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html: Removed.
Source/JavaScriptCore:
JavaScriptCore now provides a sampling profiler and it is enabled
by all ports. Web Inspector switched months ago to using the
sampling profiler and displaying its data. Remove the legacy
profiler, as it is no longer being used by anything other then
console.profile and tests. We will update console.profile's
behavior soon to have new behavior and use the sampling data.
- API/JSProfilerPrivate.cpp: Removed.
- API/JSProfilerPrivate.h: Removed.
- CMakeLists.txt:
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/BytecodeList.json:
- bytecode/BytecodeUseDef.h:
(JSC::computeUsesForBytecodeOffset): Deleted.
(JSC::computeDefsForBytecodeOffset): Deleted.
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpBytecode): Deleted.
- bytecode/UnlinkedFunctionExecutable.cpp:
(JSC::generateUnlinkedFunctionCodeBlock):
(JSC::UnlinkedFunctionExecutable::unlinkedCodeBlockFor):
- bytecode/UnlinkedFunctionExecutable.h:
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::emitCall):
(JSC::BytecodeGenerator::emitCallVarargs):
(JSC::BytecodeGenerator::emitCallVarargsInTailPosition):
(JSC::BytecodeGenerator::emitConstructVarargs):
(JSC::BytecodeGenerator::emitConstruct):
- bytecompiler/BytecodeGenerator.h:
(JSC::CallArguments::profileHookRegister): Deleted.
(JSC::BytecodeGenerator::shouldEmitProfileHooks): Deleted.
- bytecompiler/NodesCodegen.cpp:
(JSC::CallFunctionCallDotNode::emitBytecode):
(JSC::ApplyFunctionCallDotNode::emitBytecode):
(JSC::CallArguments::CallArguments): Deleted.
- dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects): Deleted.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock): Deleted.
- dfg/DFGCapabilities.cpp:
(JSC::DFG::capabilityLevel): Deleted.
- dfg/DFGClobberize.h:
(JSC::DFG::clobberize): Deleted.
- dfg/DFGDoesGC.cpp:
(JSC::DFG::doesGC): Deleted.
- dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode): Deleted.
- dfg/DFGNodeType.h:
- dfg/DFGPredictionPropagationPhase.cpp:
- dfg/DFGSafeToExecute.h:
(JSC::DFG::safeToExecute): Deleted.
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile): Deleted.
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile): Deleted.
- inspector/InjectedScriptBase.cpp:
(Inspector::InjectedScriptBase::callFunctionWithEvalEnabled):
- inspector/protocol/Timeline.json:
- interpreter/Interpreter.cpp:
(JSC::UnwindFunctor::operator()): Deleted.
(JSC::Interpreter::execute): Deleted.
(JSC::Interpreter::executeCall): Deleted.
(JSC::Interpreter::executeConstruct): Deleted.
- jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass): Deleted.
- jit/JIT.h:
- jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_profile_will_call): Deleted.
(JSC::JIT::emit_op_profile_did_call): Deleted.
- jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_profile_will_call): Deleted.
(JSC::JIT::emit_op_profile_did_call): Deleted.
- jit/JITOperations.cpp:
- jit/JITOperations.h:
- jsc.cpp:
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL): Deleted.
- llint/LLIntSlowPaths.h:
- llint/LowLevelInterpreter.asm:
- parser/ParserModes.h:
- profiler/CallIdentifier.h: Removed.
- profiler/LegacyProfiler.cpp: Removed.
- profiler/LegacyProfiler.h: Removed.
- profiler/Profile.cpp: Removed.
- profiler/Profile.h: Removed.
- profiler/ProfileGenerator.cpp: Removed.
- profiler/ProfileGenerator.h: Removed.
- profiler/ProfileNode.cpp: Removed.
- profiler/ProfileNode.h: Removed.
- profiler/ProfilerJettisonReason.cpp:
(WTF::printInternal): Deleted.
- profiler/ProfilerJettisonReason.h:
- runtime/CodeCache.cpp:
(JSC::CodeCache::getGlobalCodeBlock):
(JSC::CodeCache::getProgramCodeBlock):
(JSC::CodeCache::getEvalCodeBlock):
(JSC::CodeCache::getModuleProgramCodeBlock):
- runtime/CodeCache.h:
- runtime/Executable.cpp:
(JSC::ScriptExecutable::newCodeBlockFor):
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::createProgramCodeBlock):
(JSC::JSGlobalObject::createEvalCodeBlock):
(JSC::JSGlobalObject::createModuleProgramCodeBlock):
(JSC::JSGlobalObject::~JSGlobalObject): Deleted.
(JSC::JSGlobalObject::hasLegacyProfiler): Deleted.
- runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::supportsLegacyProfiling): Deleted.
- runtime/Options.h:
- runtime/VM.cpp:
(JSC::VM::VM): Deleted.
(JSC::SetEnabledProfilerFunctor::operator()): Deleted.
(JSC::VM::setEnabledProfiler): Deleted.
- runtime/VM.h:
(JSC::VM::enabledProfiler): Deleted.
(JSC::VM::enabledProfilerAddress): Deleted.
Source/WebCore:
- CMakeLists.txt:
- DerivedSources.cpp:
- DerivedSources.make:
- ForwardingHeaders/profiler/LegacyProfiler.h: Removed.
- ForwardingHeaders/profiler/Profile.h: Removed.
- ForwardingHeaders/profiler/ProfileNode.h: Removed.
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSCustomXPathNSResolver.cpp:
- bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::supportsLegacyProfiling): Deleted.
(WebCore::JSDOMWindowBase::supportsRichSourceInfo): Deleted.
- bindings/js/JSDOMWindowBase.h:
- bindings/js/JSWorkerGlobalScopeBase.cpp:
(WebCore::JSWorkerGlobalScopeBase::supportsLegacyProfiling): Deleted.
- bindings/js/JSWorkerGlobalScopeBase.h:
- bindings/js/ScriptCachedFrameData.cpp:
- bindings/js/ScriptController.cpp:
(WebCore::ScriptController::clearWindowShell): Deleted.
- bindings/js/ScriptProfile.h: Removed.
- bindings/js/ScriptProfileNode.h: Removed.
- bindings/scripts/CodeGeneratorJS.pm:
(AddClassForwardIfNeeded): Deleted.
- bindings/scripts/test/JS/JSTestObj.cpp:
- bindings/scripts/test/TestObj.idl:
- css/CSSParser.cpp:
- dom/Document.cpp:
- inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::stopProfiling):
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::legacyProfilerEnabled): Deleted.
(WebCore::InspectorController::setLegacyProfilerEnabled): Deleted.
- inspector/InspectorController.h:
- inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::stopProfilingImpl):
- inspector/InspectorInstrumentation.h:
- inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::startFromConsole):
(WebCore::InspectorTimelineAgent::stopFromConsole):
- inspector/InspectorTimelineAgent.h:
- inspector/PageDebuggerAgent.cpp:
- inspector/PageRuntimeAgent.cpp:
- inspector/ScriptProfile.idl: Removed.
- inspector/ScriptProfileNode.idl: Removed.
- inspector/TimelineRecordFactory.cpp:
(WebCore::buildAggregateCallInfoInspectorObject): Deleted.
(WebCore::buildInspectorObject): Deleted.
(WebCore::buildProfileInspectorObject): Deleted.
(WebCore::TimelineRecordFactory::appendProfile): Deleted.
- page/DOMWindow.cpp:
- page/Page.cpp:
- page/PageConsoleClient.cpp:
(WebCore::PageConsoleClient::profileEnd):
(WebCore::PageConsoleClient::clearProfiles): Deleted.
- page/PageConsoleClient.h:
- testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState): Deleted.
(WebCore::Internals::consoleProfiles): Deleted.
(WebCore::Internals::setLegacyJavaScriptProfilingEnabled): Deleted.
- testing/Internals.h:
- testing/Internals.idl:
- testing/js/WebCoreTestSupport.cpp:
- xml/XSLStyleSheetLibxslt.cpp:
- xml/XSLTProcessorLibxslt.cpp:
Source/WebKit/win:
- Interfaces/IWebInspector.idl:
- WebView.cpp:
- WebInspector.cpp:
(WebInspector::isJavaScriptProfilingEnabled): Deleted.
(WebInspector::setJavaScriptProfilingEnabled): Deleted.
- WebInspector.h:
LayoutTests:
- fast/profiler/anonymous-event-handler-expected.txt: Removed.
- fast/profiler/anonymous-event-handler.html: Removed.
- fast/profiler/anonymous-function-called-from-different-contexts-expected.txt: Removed.
- fast/profiler/anonymous-function-called-from-different-contexts.html: Removed.
- fast/profiler/anonymous-function-calls-built-in-functions-expected.txt: Removed.
- fast/profiler/anonymous-function-calls-built-in-functions.html: Removed.
- fast/profiler/anonymous-function-calls-eval-expected.txt: Removed.
- fast/profiler/anonymous-function-calls-eval.html: Removed.
- fast/profiler/anonymous-functions-with-display-names-expected.txt: Removed.
- fast/profiler/anonymous-functions-with-display-names.html: Removed.
- fast/profiler/apply-expected.txt: Removed.
- fast/profiler/apply.html: Removed.
- fast/profiler/built-in-function-calls-anonymous-expected.txt: Removed.
- fast/profiler/built-in-function-calls-anonymous.html: Removed.
- fast/profiler/built-in-function-calls-user-defined-function-expected.txt: Removed.
- fast/profiler/built-in-function-calls-user-defined-function.html: Removed.
- fast/profiler/call-expected.txt: Removed.
- fast/profiler/call-register-leak-expected.txt: Removed.
- fast/profiler/call-register-leak.html: Removed.
- fast/profiler/call.html: Removed.
- fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope-expected.txt: Removed.
- fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html: Removed.
- fast/profiler/compare-multiple-profiles-expected.txt: Removed.
- fast/profiler/compare-multiple-profiles.html: Removed.
- fast/profiler/constructor-expected.txt: Removed.
- fast/profiler/constructor.html: Removed.
- fast/profiler/dead-time-expected.txt: Removed.
- fast/profiler/dead-time.html: Removed.
- fast/profiler/document-dot-write-expected.txt: Removed.
- fast/profiler/document-dot-write.html: Removed.
- fast/profiler/event-handler-expected.txt: Removed.
- fast/profiler/event-handler.html: Removed.
- fast/profiler/execution-context-and-eval-on-same-line-expected.txt: Removed.
- fast/profiler/execution-context-and-eval-on-same-line.html: Removed.
- fast/profiler/inline-event-handler-expected.txt: Removed.
- fast/profiler/inline-event-handler.html: Removed.
- fast/profiler/many-calls-in-the-same-scope-expected.txt: Removed.
- fast/profiler/many-calls-in-the-same-scope.html: Removed.
- fast/profiler/multiple-and-different-scoped-anonymous-function-calls-expected.txt: Removed.
- fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html: Removed.
- fast/profiler/multiple-and-different-scoped-function-calls-expected.txt: Removed.
- fast/profiler/multiple-and-different-scoped-function-calls.html: Removed.
- fast/profiler/multiple-anonymous-functions-called-from-the-same-function-expected.txt: Removed.
- fast/profiler/multiple-anonymous-functions-called-from-the-same-function.html: Removed.
- fast/profiler/multiple-frames-expected.txt: Removed.
- fast/profiler/multiple-frames.html: Removed.
- fast/profiler/named-functions-with-display-names-expected.txt: Removed.
- fast/profiler/named-functions-with-display-names.html: Removed.
- fast/profiler/nested-anonymous-functon-expected.txt: Removed.
- fast/profiler/nested-anonymous-functon.html: Removed.
- fast/profiler/nested-start-and-stop-profiler-expected.txt: Removed.
- fast/profiler/nested-start-and-stop-profiler.html: Removed.
- fast/profiler/no-execution-context-expected.txt: Removed.
- fast/profiler/no-execution-context.html: Removed.
- fast/profiler/one-execution-context-expected.txt: Removed.
- fast/profiler/one-execution-context.html: Removed.
- fast/profiler/profile-calls-in-included-file-expected.txt: Removed.
- fast/profiler/profile-calls-in-included-file.html: Removed.
- fast/profiler/profile-with-no-title-expected.txt: Removed.
- fast/profiler/profile-with-no-title.html: Removed.
- fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting-expected.txt: Removed.
- fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html: Removed.
- fast/profiler/profiling-from-a-nested-location-expected.txt: Removed.
- fast/profiler/profiling-from-a-nested-location.html: Removed.
- fast/profiler/resources/other-frame.html: Removed.
- fast/profiler/resources/other-window.html: Removed.
- fast/profiler/resources/profiler-test-JS-resources.js: Removed.
- fast/profiler/simple-event-call-expected.txt: Removed.
- fast/profiler/simple-event-call.html: Removed.
- fast/profiler/simple-no-level-change-expected.txt: Removed.
- fast/profiler/simple-no-level-change.html: Removed.
- fast/profiler/start-and-stop-profiler-multiple-times-expected.txt: Removed.
- fast/profiler/start-and-stop-profiler-multiple-times.html: Removed.
- fast/profiler/start-and-stop-profiling-in-the-same-function-expected.txt: Removed.
- fast/profiler/start-and-stop-profiling-in-the-same-function.html: Removed.
- fast/profiler/start-but-dont-stop-profiling-expected.txt: Removed.
- fast/profiler/start-but-dont-stop-profiling.html: Removed.
- fast/profiler/stop-profiling-after-setTimeout-expected.txt: Removed.
- fast/profiler/stop-profiling-after-setTimeout.html: Removed.
- fast/profiler/stop-then-function-call-expected.txt: Removed.
- fast/profiler/stop-then-function-call.html: Removed.
- fast/profiler/throw-exception-from-eval-expected.txt: Removed.
- fast/profiler/throw-exception-from-eval.html-disabled: Removed.
- fast/profiler/two-execution-contexts-expected.txt: Removed.
- fast/profiler/two-execution-contexts.html: Removed.
- fast/profiler/user-defined-function-calls-built-in-functions-expected.txt: Removed.
- fast/profiler/user-defined-function-calls-built-in-functions.html: Removed.
- fast/profiler/window-dot-eval-expected.txt: Removed.
- fast/profiler/window-dot-eval.html: Removed.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/ios-simulator/TestExpectations:
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/ParserModes.h
r199768 r200924 40 40 enum class ThisTDZMode { AlwaysCheck, CheckIfNeeded }; 41 41 42 enum ProfilerMode { ProfilerOff, ProfilerOn };43 42 enum DebuggerMode { DebuggerOff, DebuggerOn }; 44 43