e32c2ac796
VM treats instantiated function types with NumParentTypeArguments() != 0 as non-instantiated (as they potentially depend on the numbering of enclosing type parameters) and would explicitly instantiate such types. So bytecode generator needs to make sure that instantiated types, instantiated type arguments and types used in constants always have NumParentTypeArguments() == 0, so they would not need unnecessary instantiation. TEST=ci Change-Id: I3ea54a0b535655611893d28edb54ffd50dcda1f0 Cq-Include-Trybots: luci.dart.try:vm-aot-dyn-linux-debug-x64-try,vm-aot-dyn-linux-product-x64-try,vm-dyn-linux-debug-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443630 Reviewed-by: Tess Strickland <sstrickl@google.com> Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>