• mark.lam@apple.com's avatar
    Build failure when disabling JIT, YARR_JIT, and ASSEMBLER. · 10190c45
    mark.lam@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123809.
    
    Reviewed by Geoffrey Garen.
    
    Source/JavaScriptCore: 
    
    Also fixed build when disabling the DISASSEMBLER.
    Added some needed #if's and some comments.
    
    * assembler/LinkBuffer.cpp:
    (JSC::LinkBuffer::finalizeCodeWithDisassembly):
    * dfg/DFGDisassembler.cpp:
    * dfg/DFGDisassembler.h:
    (JSC::DFG::Disassembler::Disassembler):
    (JSC::DFG::Disassembler::setStartOfCode):
    (JSC::DFG::Disassembler::setForBlockIndex):
    (JSC::DFG::Disassembler::setForNode):
    (JSC::DFG::Disassembler::setEndOfMainPath):
    (JSC::DFG::Disassembler::setEndOfCode):
    (JSC::DFG::Disassembler::dump):
    (JSC::DFG::Disassembler::reportToProfiler):
    * disassembler/Disassembler.cpp:
    * disassembler/X86Disassembler.cpp:
    * jit/FPRInfo.h:
    * jit/GPRInfo.h:
    * jit/JITDisassembler.cpp:
    * jit/JITDisassembler.h:
    (JSC::JITDisassembler::JITDisassembler):
    (JSC::JITDisassembler::setStartOfCode):
    (JSC::JITDisassembler::setForBytecodeMainPath):
    (JSC::JITDisassembler::setForBytecodeSlowPath):
    (JSC::JITDisassembler::setEndOfSlowPath):
    (JSC::JITDisassembler::setEndOfCode):
    (JSC::JITDisassembler::dump):
    (JSC::JITDisassembler::reportToProfiler):
    
    Source/WTF: 
    
    * wtf/Platform.h:
    - Ensure that the ASSEMBLER is enabled when the DISASSEMBLER is enabled.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    10190c45
DFGDisassembler.cpp 7.45 KB