v8/test/common/wasm
Clemens Backes 1a935b3c28 [wasm][cleanup] Pass ModuleWireBytes by value
{ModuleWireBytes} is just a wrapper around {base::Vector<const byte>},
so should be passed by value, just as {base::Vector}.
This CL adds a comment about this and fixes all functions and methods
that receive a {ModuleWireBytes} via const reference.

R=ahaas@chromium.org

Change-Id: Idbdc66c04a9acb92934b450c046ba7fd055448e9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4013309
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84172}
2022-11-10 12:17:39 +00:00
..
flag-utils.h [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
test-signatures.h [wasm-gc] Split any and extern type 2022-07-28 13:09:55 +00:00
wasm-interpreter.cc [wasm][cleanup] Pass ModuleWireBytes by value 2022-11-10 12:17:39 +00:00
wasm-interpreter.h [wasm][cleanup] Pass ModuleWireBytes by value 2022-11-10 12:17:39 +00:00
wasm-macro-gen.h [wasm-gc] Add new ref.cast taking any reference 2022-10-14 16:24:16 +00:00
wasm-module-runner.cc [wasm][cleanup] Pass ModuleWireBytes by value 2022-11-10 12:17:39 +00:00
wasm-module-runner.h [wasm][cleanup] Pass ModuleWireBytes by value 2022-11-10 12:17:39 +00:00