Ignore:
Timestamp:
Mar 9, 2017, 1:05:41 PM (8 years ago)
Author:
[email protected]
Message:

Use const AbstractLocker& (instead of const LockHolder&) in more places.
https://bugs.webkit.org/show_bug.cgi?id=169424

Reviewed by Filip Pizlo.

Source/JavaScriptCore:

  • heap/CodeBlockSet.cpp:

(JSC::CodeBlockSet::promoteYoungCodeBlocks):

  • heap/CodeBlockSet.h:
  • heap/CodeBlockSetInlines.h:

(JSC::CodeBlockSet::mark):

  • heap/ConservativeRoots.cpp:

(JSC::CompositeMarkHook::CompositeMarkHook):

  • heap/MachineStackMarker.cpp:

(JSC::MachineThreads::tryCopyOtherThreadStacks):

  • heap/MachineStackMarker.h:
  • profiler/ProfilerDatabase.cpp:

(JSC::Profiler::Database::ensureBytecodesFor):

  • profiler/ProfilerDatabase.h:
  • runtime/SamplingProfiler.cpp:

(JSC::FrameWalker::FrameWalker):
(JSC::CFrameWalker::CFrameWalker):
(JSC::SamplingProfiler::createThreadIfNecessary):
(JSC::SamplingProfiler::takeSample):
(JSC::SamplingProfiler::start):
(JSC::SamplingProfiler::pause):
(JSC::SamplingProfiler::noticeCurrentThreadAsJSCExecutionThread):
(JSC::SamplingProfiler::clearData):
(JSC::SamplingProfiler::releaseStackTraces):

  • runtime/SamplingProfiler.h:

(JSC::SamplingProfiler::setStopWatch):

  • wasm/WasmMemory.cpp:

(JSC::Wasm::availableFastMemories):
(JSC::Wasm::activeFastMemories):
(JSC::Wasm::viewActiveFastMemories):

  • wasm/WasmMemory.h:

Source/WTF:

  • wtf/RunLoop.h:
  • wtf/generic/RunLoopGeneric.cpp:

(WTF::RunLoop::wakeUp):
(WTF::RunLoop::schedule):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/CodeBlockSet.h

    r213652 r213657  
    6363    // blocks. This is defined in CodeBlock.h.
    6464private:
    65     void mark(const LockHolder&, CodeBlock* candidateCodeBlock);
     65    void mark(const AbstractLocker&, CodeBlock* candidateCodeBlock);
    6666public:
    67     void mark(const LockHolder&, void* candidateCodeBlock);
     67    void mark(const AbstractLocker&, void* candidateCodeBlock);
    6868   
    6969    // Delete all code blocks that are only referenced by this set (i.e. owned
     
    8787
    8888private:
    89     void promoteYoungCodeBlocks(const LockHolder&);
     89    void promoteYoungCodeBlocks(const AbstractLocker&);
    9090
    9191    HashSet<CodeBlock*> m_oldCodeBlocks;
Note: See TracChangeset for help on using the changeset viewer.