[vm/compiler] Recognize List.filled factory

Recognized factories have known result type and its type arguments
and length are automatically forwarded (length is forwarded only for
fixed-size lists).

List.filled factory is recognized only if optional 'growable' parameter
is not passed.

Fixes https://github.com/dart-lang/sdk/issues/42019

Change-Id: I0d63428f1c4667f3981447a939dbef67170e542e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149385
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>

https://dart.googlesource.com/sdk/+/4f3293c70eefd0f4d4611f885236918649b31a78
1 file changed
tree: c5c220ff7938cb6312af1965d27a36c5e8965eae
  1. commits.json