dart-sdk/pkg/wasm_builder
Aske Simon Christensen f053d2170d [dart2wasm] Put function types of imports in singleton rec groups
Starting from ba6be821c99db09b0ef2689dea8f0cb863c47ff5 (11.0.194), V8
enforces type equivalence according to the canonical iso-recursive
types for functions imported from other modules or constructed using
`WebAssembly.Function`, which means that to match such a type, a
function type declared in a Wasm module must be declared in a
singleton rec group.

To be compatible with this new canonicalization scheme, we define the
function types for all imported functions each in their own rec group
separately from other types.

Change-Id: I166b4b7d1c8fa48638f816f874f737536a61f15d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274388
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
2022-12-13 20:43:22 +00:00
..
lib [dart2wasm] Put function types of imports in singleton rec groups 2022-12-13 20:43:22 +00:00
analysis_options.yaml [pkg/wasm_builder] analyze with package:lints 2022-07-07 21:31:28 +00:00
LICENSE
OWNERS
pubspec.yaml [pkg/wasm_builder] analyze with package:lints 2022-07-07 21:31:28 +00:00