1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-01 07:14:29 +00:00
dart-sdk/pkg/wasm_builder
Ömer Sinan Ağacan 0b027bc1ba [wasm_builder] Avoid generating unreachable instructions
After an instruction like `unreachable` or `throw`, stop generating
instructions until the end of the block.

This doesn't change wasm-opt output, but helps when debugging.

jsc test failures are probably because of
https://dart-review.googlesource.com/c/sdk/+/373240.

Closes #56082.

Change-Id: Iaa86c4eff3e1d5769667d9cdaa6de68f89c099ba
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373280
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Ömer Ağacan <omersa@google.com>
2024-06-28 07:51:26 +00:00
..
lib [wasm_builder] Avoid generating unreachable instructions 2024-06-28 07:51:26 +00:00
analysis_options.yaml [pkg/wasm_builder] use package:lints/recommended.yaml 2023-02-13 17:57:24 +00:00
OWNERS
pubspec.yaml [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00