• Clemens Backes's avatar
    [wasm] Simplify LEB decoding · 5bf16197
    Clemens Backes authored
    Remove one "mode" of LEB decoding by eliminating the {AdvancePCFlag},
    and doing the PC advance in the caller instead.
    The returned length is now always zero in case of an error, thus remove
    the respective checks from the unit tests. The returned length does not
    really matter if we ran into an error.
    
    R=thibaudm@chromium.org
    
    Change-Id: Ibfd94dd981cefa2fc24c7af560c85afd1c826f2c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2449972Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70404}
    5bf16197
Name
Last commit
Last update
..
OWNERS Loading commit data...
control-transfer-unittest.cc Loading commit data...
decoder-unittest.cc Loading commit data...
function-body-decoder-unittest.cc Loading commit data...
leb-helper-unittest.cc Loading commit data...
loop-assignment-analysis-unittest.cc Loading commit data...
module-decoder-memory64-unittest.cc Loading commit data...
module-decoder-unittest.cc Loading commit data...
simd-shuffle-unittest.cc Loading commit data...
streaming-decoder-unittest.cc Loading commit data...
subtyping-unittest.cc Loading commit data...
trap-handler-posix-unittest.cc Loading commit data...
trap-handler-win-unittest.cc Loading commit data...
trap-handler-x64-unittest.cc Loading commit data...
wasm-code-manager-unittest.cc Loading commit data...
wasm-compiler-unittest.cc Loading commit data...
wasm-gdbserver-unittest.cc Loading commit data...
wasm-macro-gen-unittest.cc Loading commit data...
wasm-module-builder-unittest.cc Loading commit data...
wasm-module-sourcemap-unittest.cc Loading commit data...