Skip to content
Snippets Groups Projects
Commit 8be7127b authored by Andreas Haas's avatar Andreas Haas Committed by V8 LUCI CQ
Browse files

[wasm][fastapi] Add test with multiple instances and conflicting imports

Fast API calls from WebAssembly are based on the well-known imports
optimization, which allows faster calls from WebAssembly when the import
is known to be of a special kind. However, this optimization can only
be used when all instances of a WebAssembly module use the same imports.

This CL adds a test where a WebAssembly module gets instantiated with
different fast API call targets to check that the well-known imports
optimization indeed gets disabled.

Bug: 41492790
Change-Id: I91ff611a6cbd26a025dd248cb83e2718b44fd956
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5720910


Reviewed-by: default avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#95147}
parent 892a7363
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment