Changeset 212775 in webkit for trunk/Source/JavaScriptCore/ftl/FTLCompile.cpp
- Timestamp:
- Feb 21, 2017, 3:57:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLCompile.cpp
r208306 r212775 30 30 31 31 #include "AirCode.h" 32 #include "AirDisassembler.h" 32 33 #include "B3Generate.h" 33 34 #include "B3ProcedureInlines.h" … … 57 58 CodeBlock* codeBlock = graph.m_codeBlock; 58 59 VM& vm = graph.m_vm; 60 61 if (shouldDumpDisassembly()) 62 state.proc->code().setDisassembler(std::make_unique<B3::Air::Disassembler>()); 59 63 60 64 { … … 152 156 state.finalizer->b3CodeLinkBuffer->entrypoint().executableAddress()); 153 157 state.jitCode->initializeB3Byproducts(state.proc->releaseByproducts()); 158 159 if (B3::Air::Disassembler* disassembler = state.proc->code().disassembler()) { 160 dataLogLn("\nGenerated FTL JIT code for ", CodeBlockWithJITType(state.graph.m_codeBlock, JITCode::FTLJIT), ", instruction count = ", state.graph.m_codeBlock->instructionCount(), ":"); 161 LinkBuffer& linkBuffer = *state.finalizer->b3CodeLinkBuffer; 162 disassembler->dump(state.proc->code(), WTF::dataFile(), linkBuffer); 163 linkBuffer.didAlreadyDisassemble(); 164 } 154 165 } 155 166
Note:
See TracChangeset
for help on using the changeset viewer.