e14726a3f4
We change the type of FileUriNode.fileUri from String to Uri, which in principle doesn't change the binary format. However, we did notice that LibraryParts weren't serialized as specified in binary.md, so we also fixed that. Since fileUris are stored as strings in a separate table, Uri.parse is only called once per unique URI. Fasta only uses relativizeUri when printing diagnostics, and URIs stored in expectation files (golden files) are relativized using String.replaceAll. Change-Id: Ib2dc1b80c03a0cdaf84e48b8b3ba73b16bdf8a40 Reviewed-on: https://dart-review.googlesource.com/25421 Commit-Queue: Peter von der Ahé <ahe@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Sigmund Cherem <sigmund@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.