commit | 98d07dd8bfc3325935ffe8e84bd23ac121227dcc | [log] [tgz] |
---|---|---|
author | Alexander Markov <alexmarkov@google.com> | Fri Aug 10 21:07:06 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Aug 10 21:07:06 2018 +0000 |
tree | c489256367dfd9bbeec5811b74293776493ccd6b | |
parent | fe0640e3b1e0db13e7dd174d3212105d2e999426 [diff] |
[vm/kernel/bytecode] Minor fixes in bytecode generator This CL contains 2 fixes: * Instantiator type arguments for factory constructors are calculated using factory's type parameters and not class type parameters (as factory's body uses factory's type parameters in kernel AST) This improves reuse of instantiator type arguments in factory constructors (optimization). * Result of _AssertionError::_throwNew call is dropped off the stack. Although control never returns from _throwNew, this fix is needed to maintain correct stack balance while compiling bytecode. Change-Id: Ib781b0d790a89576ef62b768513663e7e509749c Reviewed-on: https://dart-review.googlesource.com/69384 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
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.
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.