Files
sdk/pkg/cfg
Alexander Markov dff95e77a4 [modular_aot] Avoid generating code for instance members of mixins
After mixin transformation, original members of mixins should not be
called. Only their clones in the mixin application classes can be
called.

By removing their bodies we can reduce code size and avoid any
complexity related to super-invocations of abstract members.

Change-Id: I0ae1bbac6e4c82356841fdc870bfd8ca1bac8fb6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497102
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2026-04-22 06:30:33 -07:00
..

This package defines control flow graph (CFG) intermediate representation of Dart programs and optimization passes performed on CFG.

This package is intended to be used only by Dart compiler(s) in the Dart SDK.

Structure of the package:

  front_end/  # Translation from kernel AST to CFG.
  ir/         # CFG/SSA IR and computation of its properties.
  passes/     # Optimization passes.
  utils/      # General-purpose utilities.

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.