• 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
..
json Loading commit data...
multi_return Loading commit data...
parser Loading commit data...
regexp Loading commit data...
regexp_builtins Loading commit data...
wasm Loading commit data...
wasm_async Loading commit data...
wasm_code Loading commit data...
wasm_compile Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
README.md Loading commit data...
fuzzer-support.cc Loading commit data...
fuzzer-support.h Loading commit data...
fuzzer.cc Loading commit data...
fuzzer.status Loading commit data...
json.cc Loading commit data...
multi-return.cc Loading commit data...
parser.cc Loading commit data...
regexp-builtins.cc Loading commit data...
regexp.cc Loading commit data...
testcfg.py Loading commit data...
wasm-async.cc Loading commit data...
wasm-code.cc Loading commit data...
wasm-compile.cc Loading commit data...
wasm-fuzzer-common.cc Loading commit data...
wasm-fuzzer-common.h Loading commit data...
wasm.cc Loading commit data...
wasm_corpus.tar.gz.sha1 Loading commit data...