Unreviewed changes
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/compiler/wasm-compiler.cc
Insertions: 1, Deletions: 2.
@@ -1122,8 +1122,7 @@
char func_name[kMaxNameLen];
int name_prefix_len =
SNPrintF(base::ArrayVector(func_name), "wasm-continuation-");
- PrintSignature(base::VectorOf(func_name, kMaxNameLen) + name_prefix_len, sig,
- '-');
+ PrintSignature(base::ArrayVector(func_name) + name_prefix_len, sig, '-');
wasm::WasmCompilationResult result =
Pipeline::GenerateCodeForWasmNativeStubFromTurboshaft(
sig, wasm::WrapperCompilationInfo{CodeKind::WASM_STACK_ENTRY},
```
Change information
Commit message:
[wasmfx] Support arguments in stack wrapper
Now that stack wrappers are cached per signature, allow them to have
arguments.
The wrapper receives a pointer to the arg buffer, unpacks it and
forwards the arguments to the initial func ref.
R=jkum...@chromium.org
Bug: 388533754
Change-Id: I8f8b90360902a2eabd73e861fff5b9b3122675cb
Cr-Commit-Position: refs/heads/main@{#104167}
Files:
- M src/compiler/wasm-compiler-definitions.cc
- M src/compiler/wasm-compiler.cc
- M src/compiler/wasm-compiler.h
- M src/wasm/module-compiler.cc
- M src/wasm/wasm-code-manager.cc
- M src/wasm/wasm-code-manager.h
- M src/wasm/wasm-stack-wrapper-cache.cc
- M src/wasm/wrappers-inl.h
- M test/mjsunit/wasm/stack-switching-params.js
Change size: M
Delta: 9 files changed, 111 insertions(+), 106 deletions(-)
Branch: refs/heads/main
Submit Requirements:
Code-Review: +1 by Clemens Backes