Find a file
Alexander Markov 06ebf884db [vm/kernel/aot] Tree shaking based on results of TFA
This CL adds tree shaking transformation into TFA transformer, replacing
simple DropMethodBodiesVisitor. In addition to removing bodies of
unreachable members, tree shaker is able to remove unused classes, typedefs
and member declarations, and replace unreachable calls with 'throw'.

Total(CodeSize) of flutter_gallery in --release mode
before: 11,671,369
after:  11,499,694

https://github.com/dart-lang/sdk/issues/30480

Change-Id: I966cf222eb9725b7a75dd193ac479436b9b9b4c3
Reviewed-on: https://dart-review.googlesource.com/46942
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-03-23 22:21:39 +00:00
build [infra] Use a jessie sysroot for sanitizer builds 2018-03-09 11:52:25 +00:00
client Remove old annotated_steps buildbot scripts and dispatcher 2017-05-23 16:17:02 +02:00
docs Added first draft spec of dynamic-members.md 2018-03-14 16:50:03 +00:00
pkg [vm/kernel/aot] Tree shaking based on results of TFA 2018-03-23 22:21:39 +00:00
runtime [vm/kernel/aot] Tree shaking based on results of TFA 2018-03-23 22:21:39 +00:00
samples Prepare additional lib, html, samples statuses: this embeds of d8-hostcheck results 2018-03-08 21:10:37 +00:00
samples-dev New methods on Iterable, List, Set, Queue, Map. 2018-02-07 06:12:53 +00:00
sdk Make dart.library.isolate false in consts and config imports 2018-03-23 20:21:19 +00:00
tests [vm/kernel/aot] Tree shaking based on results of TFA 2018-03-23 22:21:39 +00:00
third_party [infra] Roll boringssl forward. Use clang for arm on Linux. 2018-03-08 18:09:28 +00:00
tools Add third_party packages to dart2js testing shards 2018-03-23 12:56:06 +00:00
utils Add server category for dart2js 2018-03-23 00:40:55 +00:00
.clang-format VM: Re-format to use at most one newline between functions 2017-07-13 08:08:37 -07:00
.gitattributes Migrate the lingering language_strong tests over to language_2. 2017-10-27 23:44:08 +00:00
.gitignore Git ignore vscode project files. 2017-03-23 15:26:06 -07:00
.gn Starting work on full GN build 2016-09-23 07:47:36 -07:00
.mailmap Add .mailmap file. 2015-05-18 19:33:16 +02:00
.packages Remove pkg/browser from SDK source – use mirror 2018-03-21 20:31:24 +00:00
AUTHORS Add Cristian Almstrand to AUTHORS 2015-07-16 09:51:56 -07:00
BUILD.gn [VM] Exclude runtime/bin:precompiler_entry_points_json from being generated for ia32/dbc 2018-02-27 10:57:47 +00:00
CHANGELOG.md Remerge changelog: it seems I merged the log with 2.0.0-dev.41, not with the tip 2018-03-23 20:14:10 +00:00
codereview.settings Update codereview.settings to Gerrit (dart-review.googlesource.com) 2017-09-04 12:52:09 +00:00
DEPS Update DEPS to include pkg:http_retry v0.1.1 2018-03-23 16:37:55 +00:00
LICENSE Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
PATENTS Move LICENSE, AUTHORS, PATENTS into the dart directory. 2014-02-10 06:48:47 +00:00
PRESUBMIT.py Move new tests from tests/isolate to tests/lib_2/isolate. 2018-02-22 10:03:23 +00:00
README.dart-sdk remove docgen from the sdk 2015-09-18 13:18:10 -07:00
README.md [gardening] Whitespace change to trigger bots. 2017-04-28 10:08:58 -07:00
WATCHLISTS Creates a watchlist for sdk/lib/_http and adds me to it 2018-01-02 18:39:53 +00:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

Visit the dartlang.org to learn more about the language, tools, getting started, and more.

Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.

Building Dart

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.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License & patents

See LICENSE and PATENTS.