• titzer's avatar
    [wasm] Add utilities to print out WASM ast directly from the bytes. · 3b6b8119
    titzer authored
    Motivated by finding a bug in a larger module, this CL adds the ability
    to dump out a byte-by-byte, nested view of the decoded AST. This
    byte-by-byte output uses the opcode enum to make it readable, but is
    suitable for pasting into a byte[] in C or JS and thus making a regression
    test.
    
    Also fix a bug; the case of running out of registers for indirect calls.
    
    R=ahaas@chromium.org
    BUG=
    
    Review URL: https://codereview.chromium.org/1616973004
    
    Cr-Commit-Position: refs/heads/master@{#33442}
    3b6b8119
Name
Last commit
Last update
..
OWNERS Loading commit data...
asm-wasm-builder.cc Loading commit data...
asm-wasm-builder.h Loading commit data...
ast-decoder.cc Loading commit data...
ast-decoder.h Loading commit data...
decoder.h Loading commit data...
encoder.cc Loading commit data...
encoder.h Loading commit data...
module-decoder.cc Loading commit data...
module-decoder.h Loading commit data...
wasm-js.cc Loading commit data...
wasm-js.h Loading commit data...
wasm-macro-gen.h Loading commit data...
wasm-module.cc Loading commit data...
wasm-module.h Loading commit data...
wasm-opcodes.cc Loading commit data...
wasm-opcodes.h Loading commit data...
wasm-result.cc Loading commit data...
wasm-result.h Loading commit data...