2497606fed
There was a code in the register allocator that recognized whether destination is a spill slot or not by checking if it is one of different location types. By accident QuadSpillSlot was missing from that list - and as a result we were emitting redundant moves when connecting split siblings after register allocation. Change the code to just ask parent live which spill slot it was assigned and use that to drive decisions. https://github.com/dart-lang/sdk/issues/41805 Change-Id: I73e208acd0bf86dceeaad970b8e5cbcb9c3f8eaa Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/147550 Reviewed-by: Daco Harkes <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Vyacheslav Egorov <vegorov@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.