Changeset 190589 in webkit for trunk/Source/JavaScriptCore/dfg/DFGJITCode.h
- Timestamp:
- Oct 5, 2015, 4:31:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGJITCode.h
r190546 r190589 29 29 #if ENABLE(DFG_JIT) 30 30 31 #include "CodeBlock.h" 31 32 #include "CompilationResult.h" 32 33 #include "DFGCommonData.h" … … 115 116 116 117 void shrinkToFit(); 118 119 #if ENABLE(FTL_JIT) 120 CodeBlock* osrEntryBlock() { return m_osrEntryBlock.get(); } 121 void setOSREntryBlock(VM& vm, const JSCell* owner, CodeBlock* osrEntryBlock) { m_osrEntryBlock.set(vm, owner, osrEntryBlock); } 122 void clearOSREntryBlock() { m_osrEntryBlock.clear(); } 123 #endif 117 124 118 125 private: … … 129 136 uint8_t nestedTriggerIsSet { 0 }; 130 137 UpperTierExecutionCounter tierUpCounter; 131 RefPtr<CodeBlock>osrEntryBlock;138 WriteBarrier<CodeBlock> m_osrEntryBlock; 132 139 unsigned osrEntryRetry; 133 140 bool abandonOSREntry;
Note:
See TracChangeset
for help on using the changeset viewer.