Files
sdk/pkg/vm/test
Alexander Markov f1ebd657fe [dart2wasm/tfa] More accurate checks for empty types
When testing for an empty type, TFA can take allocated classes into
account even if type is not specialized. This check is quick
and more precise.

As a result, TFA can eliminate certain calls when their argument types
don't have allocated subtypes. This is important for dart2wasm
as it doesn't handle interface calls without any dispatch targets.

TEST=co19/Language/Generics/scope_t05
Fixes https://github.com/dart-lang/sdk/issues/52873

Change-Id: Iad39e478df7882127f39164893455b68fdbf44ac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356306
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2024-03-11 17:45:39 +00:00
..
2023-01-19 10:06:29 +00:00