• 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
..
BUILD.gn Loading commit data...
DEPS Loading commit data...
callbacks.cc Loading commit data...
finalize.cc Loading commit data...
globals.cc Loading commit data...
hostref.cc Loading commit data...
memory.cc Loading commit data...
multi-return.cc Loading commit data...
reflect.cc Loading commit data...
run-all-wasm-api-tests.cc Loading commit data...
serialize.cc Loading commit data...
startup-errors.cc Loading commit data...
table.cc Loading commit data...
testcfg.py Loading commit data...
threads.cc Loading commit data...
traps.cc Loading commit data...
wasm-api-test.h Loading commit data...
wasm-api-tests.status Loading commit data...