Changeset 39083 in webkit for trunk/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Dec 7, 2008, 3:55:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JIT.cpp
r39070 r39083 1991 1991 ASSERT(m_jmpTable.isEmpty()); 1992 1992 1993 void* code = __ executableCopy(); 1993 RefPtr<ExecutablePool> allocator = m_globalData->poolForSize(__ size()); 1994 m_codeBlock->setExecutablePool(allocator.get()); 1995 void* code = __ executableCopy(allocator.get()); 1994 1996 1995 1997 // Translate vPC offsets into addresses in JIT generated code, for switch tables. … … 2219 2221 2220 2222 // All trampolines constructed! copy the code, link up calls, and set the pointers on the Machine object. 2221 2222 void* code = __ executableCopy( );2223 m_interpreter->m_executablePool = m_globalData->poolForSize(__ size()); 2224 void* code = __ executableCopy(m_interpreter->m_executablePool.get()); 2223 2225 2224 2226 X86Assembler::link(code, array_failureCases1, reinterpret_cast<void*>(Interpreter::cti_op_get_by_id_array_fail)); … … 2244 2246 } 2245 2247 2246 void JIT::freeCTIMachineTrampolines(Interpreter* interpreter)2247 {2248 WTF::fastFreeExecutable(interpreter->m_ctiArrayLengthTrampoline);2249 }2250 2251 2248 void JIT::emitGetVariableObjectRegister(RegisterID variableObject, int index, RegisterID dst) 2252 2249 {
Note:
See TracChangeset
for help on using the changeset viewer.