Changeset 93947 in webkit for trunk/Source/JavaScriptCore/runtime/Executable.h
- Timestamp:
- Aug 27, 2011, 2:49:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Executable.h
r93920 r93947 64 64 { 65 65 Base::finishCreation(globalData); 66 #if ENABLE(JIT)67 66 Weak<ExecutableBase> finalizer(globalData, this, executableFinalizer()); 68 67 finalizer.leakHandle(); 69 #endif70 68 } 71 69 … … 89 87 90 88 static const ClassInfo s_info; 89 90 virtual void clearCode(); 91 91 92 92 protected: … … 157 157 } 158 158 159 void clearExecutableCode()160 {161 m_jitCodeForCall.clear();162 m_jitCodeForConstruct.clear();163 }164 165 159 protected: 166 160 JITCode m_jitCodeForCall; … … 168 162 MacroAssemblerCodePtr m_jitCodeForCallWithArityCheck; 169 163 MacroAssemblerCodePtr m_jitCodeForConstructWithArityCheck; 164 #endif 170 165 171 166 private: 172 167 static WeakHandleOwner* executableFinalizer(); 173 #endif174 168 }; 175 169 … … 340 334 341 335 static const ClassInfo s_info; 336 337 protected: 338 virtual void clearCode(); 339 342 340 private: 343 341 static const unsigned StructureFlags = OverridesVisitChildren | ScriptExecutable::StructureFlags; … … 393 391 394 392 static const ClassInfo s_info; 393 394 protected: 395 virtual void clearCode(); 395 396 396 397 private: … … 524 525 525 526 static const ClassInfo s_info; 526 527 protected: 527 528 protected: 529 virtual void clearCode(); 530 528 531 void finishCreation(JSGlobalData& globalData, const Identifier& name, int firstLine, int lastLine) 529 532 {
Note:
See TracChangeset
for help on using the changeset viewer.