• Ben Smith's avatar
    [wasm] Rename CheckCallViaJS with argument array · ea9e5a76
    Ben Smith authored
    WasmRunner provides CheckCallViaJS, which calls a wasm function through
    JS and checks its result.
    
    There are currently two overloads, one that takes a variable number of
    arguments, and another more general 4-argument version that takes an
    array of arguments. This means if you run code like:
    
        r.CheckCallViaJS(0, 0, 0, 0);
    
    The overload resolution kicks in, and chooses the general version, which
    will always segfault.
    
    This CL renames the general version to `CheckCallApplyViaJS` so the
    above example will call the variable-argument version instead.
    
    Change-Id: I14a742c467692e09e84f03504cec2306a794fc24
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1529990Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Ben Smith <binji@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60345}
    ea9e5a76
Name
Last commit
Last update
..
OWNERS Loading commit data...
test-c-wasm-entry.cc Loading commit data...
test-jump-table-assembler.cc Loading commit data...
test-run-wasm-64.cc Loading commit data...
test-run-wasm-asmjs.cc Loading commit data...
test-run-wasm-atomics.cc Loading commit data...
test-run-wasm-atomics64.cc Loading commit data...
test-run-wasm-bulk-memory.cc Loading commit data...
test-run-wasm-exceptions.cc Loading commit data...
test-run-wasm-interpreter.cc Loading commit data...
test-run-wasm-js.cc Loading commit data...
test-run-wasm-module.cc Loading commit data...
test-run-wasm-sign-extension.cc Loading commit data...
test-run-wasm-simd.cc Loading commit data...
test-run-wasm.cc Loading commit data...
test-streaming-compilation.cc Loading commit data...
test-wasm-breakpoints.cc Loading commit data...
test-wasm-codegen.cc Loading commit data...
test-wasm-import-wrapper-cache.cc Loading commit data...
test-wasm-interpreter-entry.cc Loading commit data...
test-wasm-serialization.cc Loading commit data...
test-wasm-shared-engine.cc Loading commit data...
test-wasm-stack.cc Loading commit data...
test-wasm-trap-position.cc Loading commit data...
wasm-atomics-utils.h Loading commit data...
wasm-run-utils.cc Loading commit data...
wasm-run-utils.h Loading commit data...