Changeset 190827 in webkit for trunk/Source/JavaScriptCore/dfg/DFGJITCode.h
- Timestamp:
- Oct 9, 2015, 4:10:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGJITCode.h
r190809 r190827 29 29 #if ENABLE(DFG_JIT) 30 30 31 #include "CodeBlock.h" 31 32 #include "CompilationResult.h" 32 33 #include "DFGCommonData.h" … … 117 118 118 119 RegisterSet liveRegistersToPreserveAtExceptionHandlingCallSite(CodeBlock*, CallSiteIndex) override; 119 120 #if ENABLE(FTL_JIT) 121 CodeBlock* osrEntryBlock() { return m_osrEntryBlock.get(); } 122 void setOSREntryBlock(VM& vm, const JSCell* owner, CodeBlock* osrEntryBlock) { m_osrEntryBlock.set(vm, owner, osrEntryBlock); } 123 void clearOSREntryBlock() { m_osrEntryBlock.clear(); } 124 #endif 125 120 126 private: 121 127 friend class JITCompiler; // Allow JITCompiler to call setCodeRef(). … … 131 137 uint8_t nestedTriggerIsSet { 0 }; 132 138 UpperTierExecutionCounter tierUpCounter; 133 RefPtr<CodeBlock>osrEntryBlock;139 WriteBarrier<CodeBlock> m_osrEntryBlock; 134 140 unsigned osrEntryRetry; 135 141 bool abandonOSREntry;
Note:
See TracChangeset
for help on using the changeset viewer.