40fca03d07
Rationale: The new modulo optimization assert fails when doing the power-of-two-of-abs test on minint64 (since abs of minint64 is minint64). Note that we could actually optimize this case by masking with maxint64 pattern but since it bails for non-smi masks right now, this fix does the same. https://github.com/dart-lang/sdk/issues/35815 Change-Id: Ic592dad89ff6ffcd84dba9e17d4bccd79dc01f18 Reviewed-on: https://dart-review.googlesource.com/c/91704 Commit-Queue: Aart Bik <ajcbik@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
Dart VM Compilation Pipeline
This folder contains Dart VM compilation pipeline.
Compilation pipeline is mainly responsible for converting AST or Kernel AST into IL flow graphs and then generating native code from IL.
It has the following structure:
| Directory | What goes there |
|---|---|
assembler/ |
Assemblers and disassemblers |
backend/ |
IL based compilation backend: optimization passes and architecture specific code generation rules |
frontend/ |
Frontends responsible for converting AST into IL |
jit/ |
JIT specific passes and compilation pipeline entry points |
aot/ |
AOT specific passes and compilation pipeline entry points |
. |
Shared code or code without clear designation. |
Currently there are no layering restrictions and components from different subfolders can reference each other.