Go to file
Martin Kustermann d0f28884ff [VM] Fix expression evaluation implementation: Never register temporary/unused classes with the system.
Until now the expression evaluation implementation was using normal kernel loader
functionality, which registered a new class with the isolate. Then the cid of that
class was set to kIllegalCid.

This caused the direct_subclasses/direct_implementors CHA information to contain a
class with kIllegalCid.

This CL fixes this by ensuring we never register the libraries/classes
created for expression evaluation (which are not even used, they are an artifact
of how the expressions are encoded in kernel).

Issue https://github.com/flutter/flutter/issues/20255
Issue https://github.com/flutter/flutter/issues/20307

Change-Id: Ie6dd76c7ff696cd8adf4f27e9a072274afd90136
Reviewed-on: https://dart-review.googlesource.com/68681
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-08-09 15:31:15 +00:00
.github Update the move metadata file. 2018-07-12 17:34:43 +00:00
build [build] Copy Observatory assets with GN rather than observatory_tool.py 2018-07-10 19:08:47 +00:00
client Remove old annotated_steps buildbot scripts and dispatcher 2017-05-23 16:17:02 +02:00
docs Point old super mixin informal spec to canonical copy 2018-08-08 17:07:47 +00:00
pkg [vm/kernel/bytecode] Fix arguments descriptor for List._fromLiteral call in bytecode 2018-08-09 03:47:28 +00:00
runtime [VM] Fix expression evaluation implementation: Never register temporary/unused classes with the system. 2018-08-09 15:31:15 +00:00
samples [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
samples-dev Remove $runtime == drt sections and uses of drt from status files. 2018-08-03 12:40:46 +00:00
sdk Fixes a minor typo in the documentation of the StreamTransformer class. 2018-08-08 10:53:49 +00:00
tests [gardening] Update status for io/compile_all_test in PRODUCT AOT mode 2018-08-09 15:19:51 +00:00
third_party Status file two flaky pkg bot tests. 2018-08-01 21:15:44 +00:00
tools [infra] Fix filesets for new vm-kernel-precomp builders 2018-08-09 11:50:36 +00:00
utils [VM] Adjust flags for creating depfiles 2018-07-31 17:09:31 +00:00
.clang-format VM: Re-format to use at most one newline between functions 2017-07-13 08:08:37 -07:00
.gitattributes [infra] Add config for custom hunk text when using git diff on status files 2018-05-31 13:56:45 +00:00
.gitconfig [infra] Add documentation to .gitconfig 2018-06-11 18:24:16 +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 First stab at a parsing library for named configurations. 2018-06-26 22:17:08 +00:00
AUTHORS Add Cristian Almstrand to AUTHORS 2015-07-16 09:51:56 -07:00
BUILD.gn Revert "Reland "[VM/SDK]"" 2018-07-23 18:07:29 +00:00
CHANGELOG.md Insert date of 2.0.0 release in Changelog 2018-08-09 14:02:33 +00:00
codereview.settings Update codereview.settings to Gerrit (dart-review.googlesource.com) 2017-09-04 12:52:09 +00:00
dartdoc_options.yaml Add a 'Core' category for doc generation. 2018-06-07 14:47:41 +00:00
DEPS Update pub - leave packages directories alone 2018-08-08 22:05:00 +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 Fix presubmit on Windows. Dart executable is not called .bat 2018-05-02 08:40:59 +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 CC sra also in changes to compiler files and tests 2018-07-31 18:27:19 +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.