• Clemens Backes's avatar
    [wasm] Make opcode properties constexpr · 852f43cd
    Clemens Backes authored
    This allows the compiler to eliminate more unneeded branches. Since all
    functions just do a lookup in a static table (either directly, or via
    compiling a switch to such a lookup), they are also good candidates for
    inlining, which is made possible by this change.
    
    One DCHECK is removed instead of pulling in the inl header, which would
    require more refactoring since the check is in a non-inl header.
    
    R=thibaudm@chromium.org
    TBR=jkummerow@chromium.org
    
    Bug: v8:10576
    Change-Id: If0fd25fd62c5f30b896fc67a5458a5ae475a6351
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2259944
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68508}
    852f43cd
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...