Files
sdk/pkg/wasm_builder/lib
Martin Kustermann 053f0ed005 [dart2wasm] Make IR tests more stable
To avoid depending on exact ordering binaryen uses in the wasm module,
we start

* enqueue functions/types/... based on sort name instead of index
  in wasm module

* only assign increasing ids in `Namer` if we actually want to print
  the name

* print functions/types/... in sorted order

for IR tests.

We also update the `pkg/dart2wasm/bin/wasm2wat.dart` tool to be
able to dump wat for multiple wasm modules.

Change-Id: Ifbfc9149a629cf5ceacd95b7cb4892e9de3d4d9c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/465341
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2025-12-02 03:06:51 -08:00
..
2025-12-02 03:06:51 -08:00