dart-sdk/pkg/wasm_builder
Aske Simon Christensen 2846cb8da6 [dart2wasm] Add Wasm bottom heap types
- Add getters for the top and bottom types of the WasmGC hierarchy
  that a type belongs to.
- Rename the internal common supertype from `top` to `common` to avoid
  confusion with the top type of each hierarchy.
- Always use a bottom type when emitting a `ref.null` instruction.
- Translate the `Null` and `Never` Dart types to WasmGC `nullref`.

Change-Id: I43ba5da222a848214647980f7b4876940546242a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268463
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2022-11-18 11:43:52 +00:00
..
lib [dart2wasm] Add Wasm bottom heap types 2022-11-18 11:43:52 +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