Changeset 166218 in webkit for trunk/Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp
- Timestamp:
- Mar 24, 2014, 8:44:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp
r164229 r166218 38 38 39 39 GCAwareJITStubRoutine::GCAwareJITStubRoutine( 40 const MacroAssemblerCodeRef& code, VM& vm , bool isClosureCall)40 const MacroAssemblerCodeRef& code, VM& vm) 41 41 : JITStubRoutine(code) 42 42 , m_mayBeExecuting(false) 43 43 , m_isJettisoned(false) 44 , m_isClosureCall(isClosureCall)45 44 { 46 45 vm.heap.m_jitStubRoutines.add(this); … … 99 98 const MacroAssemblerCodeRef& code, 100 99 VM& vm, 101 const JSCell*,102 bool makesCalls)103 {104 if (!makesCalls)105 return adoptRef(new JITStubRoutine(code));106 107 return static_pointer_cast<JITStubRoutine>(108 adoptRef(new GCAwareJITStubRoutine(code, vm)));109 }110 111 PassRefPtr<JITStubRoutine> createJITStubRoutine(112 const MacroAssemblerCodeRef& code,113 VM& vm,114 100 const JSCell* owner, 115 101 bool makesCalls, … … 118 104 if (!makesCalls) 119 105 return adoptRef(new JITStubRoutine(code)); 106 107 if (!object) { 108 return static_pointer_cast<JITStubRoutine>( 109 adoptRef(new GCAwareJITStubRoutine(code, vm))); 110 } 120 111 121 112 return static_pointer_cast<JITStubRoutine>(
Note:
See TracChangeset
for help on using the changeset viewer.