mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 21:40:07 +00:00
6efd3b3654
sync*/async/async* generators have two parts: an entry, which does checks and computes the element type of the result, and a body, which is transformed after lowering to JavaScript. The split ensures that the code for checks is done at function call time, rather than e.g. in the moveNext method of a sync* iterator. A following CL with optimize the split to generate one function when there are no checks and the type argument is simple enough for textual substitution. Change-Id: I5414109ca851f9267871aa113a2e29b16236986d Reviewed-on: https://dart-review.googlesource.com/54308 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> |
||
---|---|---|
.. | ||
analysis_server | ||
analysis_server_client | ||
analyzer | ||
analyzer_cli | ||
analyzer_plugin | ||
async_helper | ||
compiler | ||
dart_internal | ||
dart_messages | ||
dev_compiler | ||
expect | ||
front_end | ||
js | ||
js_ast | ||
kernel | ||
meta | ||
microlytics | ||
sourcemap_testing | ||
status_file | ||
telemetry | ||
testing | ||
vm | ||
.gitignore | ||
BUILD.gn | ||
pkg.status |