Changeset 226928 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Jan 12, 2018, 4:36:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
r226806 r226928 41 41 #include "ConcurrentJSLock.h" 42 42 #include "DFGCommon.h" 43 #include "DFGExitProfile.h"44 43 #include "DirectEvalCodeCache.h" 45 44 #include "EvalExecutable.h" … … 513 512 } 514 513 515 bool addFrequentExitSite(const DFG::FrequentExitSite& site)516 {517 ASSERT(JITCode::isBaselineCode(jitType()));518 ConcurrentJSLocker locker(m_lock);519 return m_exitProfile.add(locker, this, site);520 }521 522 bool hasExitSite(const ConcurrentJSLocker& locker, const DFG::FrequentExitSite& site) const523 {524 return m_exitProfile.hasExitSite(locker, site);525 }526 bool hasExitSite(const DFG::FrequentExitSite& site) const527 {528 ConcurrentJSLocker locker(m_lock);529 return hasExitSite(locker, site);530 }531 532 DFG::ExitProfile& exitProfile() { return m_exitProfile; }533 534 514 CompressedLazyOperandValueProfileHolder& lazyOperandValueProfiles() 535 515 { … … 1020 1000 // This is relevant to non-DFG code blocks that serve as the profiled code block 1021 1001 // for DFG code blocks. 1022 DFG::ExitProfile m_exitProfile;1023 1002 CompressedLazyOperandValueProfileHolder m_lazyOperandValueProfiles; 1024 1003 #endif
Note:
See TracChangeset
for help on using the changeset viewer.