• 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
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...