mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:09:49 +00:00
922c2bfbb0
* Include source positions, source text (if provided by front-end, which is controlled by a separate option) and assertions into platform with bytecode. Also use environment defines if provided. * Omit bytecode for synthetic static fields '_redirecting#' injected by front-end, as they contain invalid AST nodes (taking tear-off of a constructor). This is needed to avoid emitting bytecode which cannot be loaded. * Correctly merge source information such as source text and line numbers in bytecode generator if the script was originally created for an anonymous mixin application without such information. * Always include import URIs into source information, even if other information is excluded (for members in anonymous mixin applications / noSuchMethod forwarders / forwarding stubs). * Set native resolvers for vm/cc/PrintJSON test, as printing all objects to JSON involves collecting token positions, which may read bytecode from platform and need native resolvers to process native method entries. Change-Id: I971e880c25439c0ec69db3a231a0085ccd5d15ad Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113780 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Régis Crelier <regis@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
llvm_codegen | ||
observatory | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
PRESUBMIT.py | ||
runtime_args.gni |