b02a83e114
This CL adjusts the predicate `_isFormalParameter` in the constant evaluator, so that it includes variables from the new model. Additionally, `IntenralPositionalParameters` and `InternalNamedParameters` that were emitted as parts of function declarations are replaced with their corresponding `astVariable`s in the output. The CL allows to unskip the last test in the bytecode generator when the new variable model is enabled. Part of https://github.com/dart-lang/sdk/issues/61572 Change-Id: Ibb8df47bf53f7f31aab58f8d5d104192edc83718 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/489380 Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>