Changeset 261569 in webkit for trunk/Source/JavaScriptCore/yarr


Ignore:
Timestamp:
May 12, 2020, 12:13:18 PM (5 years ago)
Author:
Ross Kirsling
Message:

Fix existing usage of final/override/virtual in JSC and WTF
https://bugs.webkit.org/show_bug.cgi?id=211772

Reviewed by Darin Adler.

Source/JavaScriptCore:

  • API/JSAPIWrapperObject.mm:
  • API/JSManagedValue.mm:
  • API/JSScriptSourceProvider.h:
  • API/ObjCCallbackFunction.mm:
  • API/glib/JSAPIWrapperGlobalObject.cpp:
  • API/glib/JSAPIWrapperObjectGLib.cpp:
  • API/glib/JSCWeakValue.cpp:
  • bytecode/AccessCaseSnippetParams.cpp:
  • bytecode/AccessCaseSnippetParams.h:
  • bytecode/CodeBlock.cpp:
  • bytecode/StructureStubClearingWatchpoint.h:
  • bytecode/VariableWriteFireDetail.h:
  • bytecode/Watchpoint.h:
  • dfg/DFGAdaptiveInferredPropertyValueWatchpoint.h:
  • dfg/DFGArrayifySlowPathGenerator.h:
  • dfg/DFGCallArrayAllocatorSlowPathGenerator.h:
  • dfg/DFGCallCreateDirectArgumentsSlowPathGenerator.h:
  • dfg/DFGSaneStringGetByValSlowPathGenerator.h:
  • dfg/DFGSlowPathGenerator.h:
  • dfg/DFGSnippetParams.h:
  • dfg/DFGWorklist.cpp:
  • ftl/FTLSnippetParams.h:
  • heap/BlockDirectory.cpp:
  • heap/EdenGCActivityCallback.h:
  • heap/FullGCActivityCallback.h:
  • heap/Heap.cpp:
  • heap/Heap.h:
  • heap/IncrementalSweeper.h:
  • heap/IsoCellSet.cpp:
  • heap/IsoCellSetInlines.h:
  • heap/IsoHeapCellType.h:
  • heap/IsoInlinedHeapCellType.h:
  • heap/ParallelSourceAdapter.h:
  • heap/StopIfNecessaryTimer.h:
  • heap/Subspace.cpp:
  • heap/SubspaceInlines.h:
  • inspector/InjectedScript.h:
  • inspector/JSGlobalObjectConsoleClient.h:
  • inspector/JSGlobalObjectInspectorController.h:
  • inspector/JSGlobalObjectScriptDebugServer.h:
  • inspector/JSInjectedScriptHost.cpp:
  • inspector/agents/InspectorAgent.h:
  • inspector/agents/InspectorScriptProfilerAgent.h:
  • inspector/agents/InspectorTargetAgent.h:
  • inspector/agents/JSGlobalObjectAuditAgent.h:
  • inspector/agents/JSGlobalObjectDebuggerAgent.h:
  • inspector/agents/JSGlobalObjectRuntimeAgent.h:
  • inspector/augmentable/AlternateDispatchableAgent.h:
  • inspector/remote/RemoteConnectionToTarget.h:
  • inspector/remote/RemoteInspector.h:
  • inspector/remote/socket/RemoteInspectorServer.h:
  • inspector/scripts/codegen/cpp_generator_templates.py:
  • inspector/scripts/codegen/generate_objc_backend_dispatcher_header.py:
  • inspector/scripts/tests/all/expected/definitions-with-mac-platform.json-result:
  • inspector/scripts/tests/generic/expected/command-targetType-matching-domain-debuggableType.json-result:
  • inspector/scripts/tests/generic/expected/commands-with-async-attribute.json-result:
  • inspector/scripts/tests/generic/expected/commands-with-optional-call-return-parameters.json-result:
  • inspector/scripts/tests/generic/expected/domain-debuggableTypes.json-result:
  • inspector/scripts/tests/generic/expected/domain-targetType-matching-domain-debuggableType.json-result:
  • inspector/scripts/tests/generic/expected/domain-targetTypes.json-result:
  • inspector/scripts/tests/generic/expected/domains-with-varying-command-sizes.json-result:
  • inspector/scripts/tests/generic/expected/enum-values.json-result:
  • inspector/scripts/tests/generic/expected/event-targetType-matching-domain-debuggableType.json-result:
  • inspector/scripts/tests/generic/expected/generate-domains-with-feature-guards.json-result:
  • inspector/scripts/tests/mac/expected/definitions-with-mac-platform.json-result:
  • jit/JITWorklist.cpp:
  • parser/Nodes.h:
  • parser/SourceProvider.h:
  • runtime/DataView.h:
  • runtime/DoublePredictionFuzzerAgent.h:
  • runtime/FileBasedFuzzerAgent.h:
  • runtime/GenericTypedArrayView.h:
  • runtime/JSMicrotask.cpp:
  • runtime/NarrowingNumberPredictionFuzzerAgent.h:
  • runtime/ObjectPropertyChangeAdaptiveWatchpoint.h:
  • runtime/PredictionFileCreatingFuzzerAgent.h:
  • runtime/PromiseTimer.h:
  • runtime/RandomizingFuzzerAgent.h:
  • runtime/RegExpCache.h:
  • runtime/Structure.cpp:
  • runtime/StructureRareData.cpp:
  • runtime/VMTraps.cpp:
  • runtime/WideningNumberPredictionFuzzerAgent.h:
  • tools/JSDollarVM.cpp:
  • wasm/WasmBBQPlan.h:
  • wasm/WasmCallee.h:
  • wasm/WasmLLIntPlan.h:
  • wasm/WasmOMGForOSREntryPlan.h:
  • wasm/WasmOMGPlan.h:
  • wasm/WasmWorklist.cpp:
  • yarr/YarrJIT.cpp:

Source/WTF:

  • wtf/Assertions.cpp:
  • wtf/Expected.h:
  • wtf/FilePrintStream.h:
  • wtf/JSONValues.h:
  • wtf/LockedPrintStream.h:
  • wtf/OSLogPrintStream.h:
  • wtf/ParallelHelperPool.cpp:
  • wtf/RunLoop.h:
  • wtf/SharedTask.h:
  • wtf/StringPrintStream.h:
  • wtf/WorkQueue.h:
  • wtf/WorkerPool.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/yarr/YarrJIT.cpp

    r261464 r261569  
    7070
    7171template<YarrJITCompileMode compileMode>
    72 class YarrGenerator : public YarrJITInfo, private MacroAssembler {
     72class YarrGenerator final : public YarrJITInfo, private MacroAssembler {
    7373
    7474#if CPU(ARM_THUMB2)
     
    39833983    }
    39843984
    3985     const char* variant() override
     3985    const char* variant() final
    39863986    {
    39873987        if (compileMode == MatchOnly) {
     
    39983998    }
    39993999
    4000     unsigned opCount() override
     4000    unsigned opCount() final
    40014001    {
    40024002        return m_ops.size();
    40034003    }
    40044004
    4005     void dumpPatternString(PrintStream& out) override
     4005    void dumpPatternString(PrintStream& out) final
    40064006    {
    40074007        m_pattern.dumpPatternString(out, m_patternString);
    40084008    }
    40094009
    4010     int dumpFor(PrintStream& out, unsigned opIndex) override
     4010    int dumpFor(PrintStream& out, unsigned opIndex) final
    40114011    {
    40124012        if (opIndex >= opCount())
Note: See TracChangeset for help on using the changeset viewer.