• fpizlo@apple.com's avatar
    Disassembly methods should be able to disassemble to any PrintStream& rather... · 1bf96d6e
    fpizlo@apple.com authored
    Disassembly methods should be able to disassemble to any PrintStream& rather than always using WTF::dataFile()
    https://bugs.webkit.org/show_bug.cgi?id=103492
    
    Reviewed by Mark Hahnenberg.
    
    Switched disassembly code to use PrintStream&, and to use print() rather than printf().
    
    * dfg/DFGDisassembler.cpp:
    (JSC::DFG::Disassembler::dump):
    (DFG):
    (JSC::DFG::Disassembler::dumpDisassembly):
    * dfg/DFGDisassembler.h:
    (Disassembler):
    * dfg/DFGGraph.cpp:
    (JSC::DFG::printWhiteSpace):
    (JSC::DFG::Graph::dumpCodeOrigin):
    (JSC::DFG::Graph::printNodeWhiteSpace):
    (JSC::DFG::Graph::dump):
    (DFG):
    (JSC::DFG::Graph::dumpBlockHeader):
    * dfg/DFGGraph.h:
    (Graph):
    * jit/JITDisassembler.cpp:
    (JSC::JITDisassembler::dump):
    (JSC::JITDisassembler::dumpForInstructions):
    (JSC::JITDisassembler::dumpDisassembly):
    * jit/JITDisassembler.h:
    (JITDisassembler):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1bf96d6e
DFGDisassembler.h 2.74 KB