bac7e9b8c0
This marks all types without subtypes as final and all types with subtypes as non-final. This makes the emitted types maximally final and is appropriate for a closed-world module. V8 currently ignores the finality of types for the temporary WasmGC encoding, which make our current encoding work even though it implicitly marks some types as final that shouldn't be. For the final WasmGC instruction encoding, V8 is likely to reject modules containing final types with subtypes. Change-Id: If3030c49e8fe60fec8099b731b6fcf618d6a7e64 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310163 Reviewed-by: Ömer Ağacan <omersa@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>