2afc34112c
This change includes kernel-related changes: * --compact-async option is added to kernel compilers (front-end server and gen_kernel). This option disables desugaring of async and await on kernel AST. Note that 'await for' is still desugared. * File offset of the 'await' is now written for AwaitExpression nodes in the kernel binaries (will be used for async stack traces). * Async/async*/sync* functions and AwaitExpression nodes are supported in TFA. Design doc: go/compact-async-await. TEST=ci Issue: https://github.com/dart-lang/sdk/issues/48378 Change-Id: I4233086b7434bc48347f4220645b0be5f9133456 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/241842 Reviewed-by: Slava Egorov <vegorov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
Target configurations.
A target can tailor the kernel IR for a specific backend.