6ddd96b45a
When building a flow graph, break control flow (close fragment) after a call with return type 'Never'. Append 'Stop' instruction after the call to make sure the return address is still within function code range. TEST=runtime/tests/vm/dart/regress_59941_il_test.dart Fixes https://github.com/dart-lang/sdk/issues/59941 Issue https://github.com/dart-lang/sdk/issues/56969 Change-Id: I5bbc0b9740a4f7e06b8560589daeb2b44f13d084 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405604 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: 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.