6ca00d12c0
- Makes Future.wait a recognised function, and asserts its chained future, _future is allocated at a known index in the context. - Adds logic to locate, extract the chained future during lazy async stack unwinding. - Adds tests for the Future.wait async case. - Minor consistency nits, comments. This change is similar to a previous CL, adding Future.timeout support: https://dart-review.googlesource.com/c/sdk/+/152328 Change-Id: I7439750968595d25d7bbac0068ad64fcc891e176 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155420 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Martin Kustermann <kustermann@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.