• clemensh's avatar
    [wasm] Introduce EmitVarInt and EmitWithVarInt · 494fd715
    clemensh authored
    Use them to encode int32 constants properly.
    This reduces the generated wasm size in the unity benchmark from
    21.6 MB to 16.8 MB (-22.2%).
    This hopefully also translates to increased performance especially on
    mobile because of lower memory usage.
    
    R=bradnelson@chromium.org, titzer@chromium.org
    
    Review-Url: https://codereview.chromium.org/2692943002
    Cr-Commit-Position: refs/heads/master@{#43200}
    494fd715
Name
Last commit
Last update
..
OWNERS Loading commit data...
asm-js.cc Loading commit data...
asm-js.h Loading commit data...
asm-typer.cc Loading commit data...
asm-typer.h Loading commit data...
asm-types.cc Loading commit data...
asm-types.h Loading commit data...
asm-wasm-builder.cc Loading commit data...
asm-wasm-builder.h Loading commit data...
switch-logic.cc Loading commit data...
switch-logic.h Loading commit data...