Reland "[VM/runtime] Refactor the representation of type parameters in the VM."
This is a reland of 8a21ab195a
Original change's description:
> [VM/runtime] Refactor the representation of type parameters in the VM.
>
> This introduces a new VM internal class 'TypeParameters' representing the declaration of a list of type parameters, either in a class or function.
> The reference to (or use of) a type parameter is still represented by the existing 'TypeParameter' class.
>
> Fixes https://github.com/dart-lang/sdk/issues/43901
> Fixes https://github.com/dart-lang/sdk/issues/45763
>
> TEST=existing ones and a regression test
>
> Change-Id: I1fde808bf753cc1cb829f2c4383c1836651cee80
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/189942
> Commit-Queue: Régis Crelier <regis@google.com>
> Reviewed-by: Alexander Markov <alexmarkov@google.com>
This fixes https://github.com/dart-lang/sdk/issues/45911
TEST=existing ones and a regression test
Change-Id: I709d38b1df3d73fe3c9796d5aca3cbbdcf77fd38
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/198380
Commit-Queue: Régis Crelier <regis@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
df3bb63a13
commit
1f55b7ca10
@@ -136,9 +136,12 @@ namespace dart {
|
||||
F(TypeRef, type_test_stub_) \
|
||||
F(TypeRef, type_) \
|
||||
F(TypeParameter, type_test_stub_) \
|
||||
F(TypeParameter, name_) \
|
||||
F(TypeParameter, hash_) \
|
||||
F(TypeParameter, bound_) \
|
||||
F(TypeParameters, names_) \
|
||||
F(TypeParameters, flags_) \
|
||||
F(TypeParameters, bounds_) \
|
||||
F(TypeParameters, defaults_) \
|
||||
F(Closure, instantiator_type_arguments_) \
|
||||
F(Closure, function_type_arguments_) \
|
||||
F(Closure, delayed_type_arguments_) \
|
||||
|
||||
Reference in New Issue
Block a user