• Jakob Kummerow's avatar
    [wasm] Repair decoder perf regression · 4c3db4fd
    Jakob Kummerow authored
    With the value stack refactoring in 1b5c7e15 / r73193, the
    combination of helper functions called by PeekArgs() ended
    up checking the stack height repeatedly. This CL avoids that
    by introducing a ValidateArgType() helper that does not check
    stack height.
    Bonus: achieve a small speedup by special-casing two of the
    most common opcodes in the decoder's main dispatcher.
    
    Fixed: chromium:1185082
    Change-Id: I6d51aca844ef9377d203147f74ff8137e12a23e7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2745341
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73294}
    4c3db4fd
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...