• Clemens Hammacher's avatar
    [wasm] Print wasm code kind in disassembly · 0762f35f
    Clemens Hammacher authored
    The disassembler currently shows calls from JS code objects to wasm
    code as:
    REX.W movq r10,0x58466fd5120                   ;; js to wasm call
    
    This does not show which code kind is being called (wasm function, lazy
    compile stub, or wasm-to-wasm wrapper).
    
    This CL extends the output to:
    REX.W movq r10,0x58466fd5120 (wasm-to-wasm)    ;; js to wasm call
    
    R=mtrofin@chromium.org, titzer@chromium.org
    
    Bug: v8:6876, v8:7140
    Change-Id: Ib350088017f767528ec0acd7d4c1c347758adcf2
    Reviewed-on: https://chromium-review.googlesource.com/796270
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49727}
    0762f35f
disassembler.cc 11.2 KB