commit | 2f27573c41eca3c54683a8c19cc47678a9947c3a | [log] [tgz] |
---|---|---|
author | Daco Harkes <dacoharkes@google.com> | Mon Nov 16 11:04:00 2020 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Mon Nov 16 11:04:00 2020 +0000 |
tree | 6cfc22af7882684f0fbe0feeca1544656e6fd96a | |
parent | 1ca55a1fbabd1d8ba6ab7e0b802a3dab8da25891 [diff] |
[vm/ffi] Refactor Native* Zone usage This CL refactors all dart::Zone usage in Native* classes in vm/compiler/ffi to be explicit, so that they are never looked up from Thread::Current(). Also, this CL changes the ToCString printing to take a Zone as argument, and uses the ZoneTextBuffer. Finally, it clears up imports. TEST=Covered by existing tests in `tests/ffi` and `tests/ffi_2`. Change-Id: I8655cfc98a3fcc783e6ea8fc954ca50070fa2b53 Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64-try,vm-precomp-ffi-qemu-linux-release-arm-try,vm-kernel-win-release-ia32-try,vm-kernel-win-debug-ia32-try,vm-kernel-linux-debug-ia32-try,vm-kernel-mac-debug-x64-try,vm-kernel-precomp-android-release-arm_x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171724 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Clement Skau <cskau@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, getting started, and more.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.