• Clemens Backes's avatar
    [wasm] Clean up WASM_CALL_INDIRECT macros · a183b8be
    Clemens Backes authored
    Fix a TODO from Ben to change the macro argument order to match the
    actual order in wasm code.
    After this fix, we can remove the individual {WASM_CALL_INDIRECT[0-5]}
    macros and implement them via a common variadic macro.
    
    Also, rename {WASM_CALL_INDIRECT_TABLE0} to {WASM_CALL_INDIRECT_TABLE}.
    The name was confusing, because this macro explictly allows to set a
    table index different from 0. Thus, just drop the "0" in the name.
    
    The individual test changes were done via a vim macro, to avoid manual
    errors.
    
    R=mstarzinger@chromium.org
    
    Bug: v8:10021
    Change-Id: I9f0f31511c5c6e20a0b07524bf75fe9cf1598eba
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1940265Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65242}
    a183b8be
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-unittest.cc Loading commit data...
streaming-decoder-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-macro-gen-unittest.cc Loading commit data...
wasm-module-builder-unittest.cc Loading commit data...
wasm-module-sourcemap-unittest.cc Loading commit data...
wasm-opcodes-unittest.cc Loading commit data...
wasm-text-unittest.cc Loading commit data...