Files
sdk/pkg/dart2bytecode
Chloe Stefantsova 400356c126 [dart2bytecode] Use VariableGet.expressionVariable in dart2bytecode
This CL is a part of work that migrates the bytecode generator to the
new variable model produced by the CFE. The code is changed in such a
way that it's compatible with both the old model and the new model.

Specifically in this CL the invocatoins of the getter
`VariableGet.variable` are replaced with the invocations of
`VariableGet.expressionVariable`, which has the return type
`ExpressionVariable` from the new variable model. Some formal
parameters of procedures and types of fields are also adjusted to
accomodate for the change.

Part of https://github.com/dart-lang/sdk/issues/61572

Change-Id: Ic32bac325d0498f82b3b4da7fe800e999926c2d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/485481
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
2026-03-04 09:12:44 -08:00
..

This package contains Dart bytecode compiler.

Status: experimental

NOTE: This package is currently experimental and not published or included in the SDK.

Do not take dependency on this package unless you are prepared for breaking changes and possibly removal of this code at any point in time.