Changeset 153143 in webkit for trunk/Source/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Jul 24, 2013, 8:59:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JIT.cpp
r153113 r153143 595 595 m_disassembler = adoptPtr(new JITDisassembler(m_codeBlock)); 596 596 if (m_vm->m_perBytecodeProfiler) { 597 m_compilation = m_vm->m_perBytecodeProfiler->newCompilation(m_codeBlock, Profiler::Baseline); 597 m_compilation = adoptRef( 598 new Profiler::Compilation( 599 m_vm->m_perBytecodeProfiler->ensureBytecodesFor(m_codeBlock), 600 Profiler::Baseline)); 598 601 m_compilation->addProfiledBytecodes(*m_vm->m_perBytecodeProfiler, m_codeBlock); 599 602 } … … 785 788 if (Options::showDisassembly()) 786 789 m_disassembler->dump(patchBuffer); 787 if (m_compilation) 790 if (m_compilation) { 788 791 m_disassembler->reportToProfiler(m_compilation.get(), patchBuffer); 792 m_vm->m_perBytecodeProfiler->addCompilation(m_compilation); 793 } 789 794 790 795 CodeRef result = patchBuffer.finalizeCodeWithoutDisassembly();
Note:
See TracChangeset
for help on using the changeset viewer.