commit | bdf0a2a72b35b3b4b517b109b18973fd477205d4 | [log] [tgz] |
---|---|---|
author | Martin Kustermann <kustermann@google.com> | Sat Oct 17 07:52:24 2020 +0000 |
committer | Alexander Thomas <athom@google.com> | Thu Oct 22 17:13:16 2020 +0200 |
tree | 14d20bf23c8da51b66b6b0be91ed591e59828f15 | |
parent | 3acb4f537e4d0da7b3e05a6b2234f7db22ad6839 [diff] |
[vm/compiler] Remove too conservative release assert, add boxed-field/unboxed-implicit-getter graph intrinsic support The initial release assert was added when removing assembler intrinsics for implicit getters and replacing them with graph intrinsics in: https://dart-review.googlesource.com/c/sdk/+/155900 Normally if the return value of a implicit field getter is unboxed, the field itself must be unboxable. That is true, though just because we can unbox a field doesn't mean we always will: The unboxing field bitmap - which e.g. the GC uses - only allows 64-bits. Classes with more fields might have some fields boxed even though they could theoretically be unboxed. Closes https://github.com/flutter/flutter/issues/67803 Change-Id: I39717d356e293ed85becd64c8a664465d2abd31d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168100 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Alexander Markov <alexmarkov@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.