Skip to content
  • fpizlo@apple.com's avatar
    DFG should be able to print disassembly interleaved with the IR · 3d517670
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=89551
    
    Reviewed by Geoffrey Garen.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * Target.pri:
    * assembler/ARMv7Assembler.h:
    (JSC::ARMv7Assembler::labelIgnoringWatchpoints):
    (ARMv7Assembler):
    * assembler/AbstractMacroAssembler.h:
    (AbstractMacroAssembler):
    (JSC::AbstractMacroAssembler::labelIgnoringWatchpoints):
    * assembler/X86Assembler.h:
    (X86Assembler):
    (JSC::X86Assembler::labelIgnoringWatchpoints):
    * dfg/DFGCommon.h:
    (JSC::DFG::shouldShowDisassembly):
    (DFG):
    * dfg/DFGDisassembler.cpp: Added.
    (DFG):
    (JSC::DFG::Disassembler::Disassembler):
    (JSC::DFG::Disassembler::dump):
    (JSC::DFG::Disassembler::dumpDisassembly):
    * dfg/DFGDisassembler.h: Added.
    (DFG):
    (Disassembler):
    (JSC::DFG::Disassembler::setStartOfCode):
    (JSC::DFG::Disassembler::setForBlock):
    (JSC::DFG::Disassembler::setForNode):
    (JSC::DFG::Disassembler::setEndOfMainPath):
    (JSC::DFG::Disassembler::setEndOfCode):
    * dfg/DFGDriver.cpp:
    (JSC::DFG::compile):
    * dfg/DFGGraph.cpp:
    (JSC::DFG::Graph::dumpCodeOrigin):
    (JSC::DFG::Graph::amountOfNodeWhiteSpace):
    (DFG):
    (JSC::DFG::Graph::printNodeWhiteSpace):
    (JSC::DFG::Graph::dump):
    (JSC::DFG::Graph::dumpBlockHeader):
    * dfg/DFGGraph.h:
    * dfg/DFGJITCompiler.cpp:
    (JSC::DFG::JITCompiler::JITCompiler):
    (DFG):
    (JSC::DFG::JITCompiler::compile):
    (JSC::DFG::JITCompiler::compileFunction):
    * dfg/DFGJITCompiler.h:
    (JITCompiler):
    (JSC::DFG::JITCompiler::setStartOfCode):
    (JSC::DFG::JITCompiler::setForBlock):
    (JSC::DFG::JITCompiler::setForNode):
    (JSC::DFG::JITCompiler::setEndOfMainPath):
    (JSC::DFG::JITCompiler::setEndOfCode):
    * dfg/DFGNode.h:
    (Node):
    (JSC::DFG::Node::willHaveCodeGen):
    * dfg/DFGNodeFlags.cpp:
    (JSC::DFG::nodeFlagsAsString):
    * dfg/DFGSpeculativeJIT.cpp:
    (JSC::DFG::SpeculativeJIT::compile):
    * dfg/DFGSpeculativeJIT.h:
    (SpeculativeJIT):
    * runtime/Options.cpp:
    (Options):
    (JSC::Options::initializeOptions):
    * runtime/Options.h:
    (Options):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3d517670