• binji's avatar
    [Wasm] Convert many of the fixed-size values to LEB128. · 78f6f838
    binji authored
    This CL modifies the following to be LEB128:
    * Function table indices
    * Import table signature indices
    * Export table function indices
    * Function signature param count
    * br/br_if break depth
    * br_table target count
    * block/loop expression count
    
    Still to do:
    * Import/export names (LEB128 count + inline data)
    * Data segments (LEB128 offset + size + inline data)
    * Function header stuff (should seperate into function sig and body sections)
    * Memory access alignment + offset (still discussing)
    
    BUG=
    R=titzer@chromium.org
    
    Review URL: https://codereview.chromium.org/1775873002
    
    Cr-Commit-Position: refs/heads/master@{#34603}
    78f6f838
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-external-refs.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...