commit | 5c7f7be9c49e4ef6f2f6ae51af195aa839a33bcb | [log] [tgz] |
---|---|---|
author | Daco Harkes <dacoharkes@google.com> | Thu Feb 18 11:40:51 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Feb 18 11:40:51 2021 +0000 |
tree | 6c0a83f073561b288ee7138f0b929c8e3785501c | |
parent | 9f68048cae8ec3344e845917f3f42dbc8340e8a3 [diff] |
[vm/ffi] Remove entry-point from `Struct`s `#sizeOf` Removes the entry-point on the `#sizeOf` field of `Struct` subtypes, because we are no longer using it in the runtime. Does not remove the entry-point from the constructor yet, because FFI trampolines can instantiate these objects. Updated the TODOs to reflect this. Bug: https://github.com/dart-lang/sdk/issues/38721 TEST=tests/ffi(_2)/* in precompiled mode. Change-Id: If3889e782b8fe34ef1c34cf8af83da041b4d2ef5 Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-nnbd-linux-debug-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185540 Reviewed-by: Aske Simon Christensen <askesc@google.com> Commit-Queue: Daco Harkes <dacoharkes@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, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
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.