commit | da4fa78c799dde5770335fc9c0f763411c346e88 | [log] [tgz] |
---|---|---|
author | Alexander Markov <alexmarkov@google.com> | Mon Jun 11 19:13:50 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Mon Jun 11 19:13:50 2018 +0000 |
tree | 0b37f40525a017fda8098220e44b69d56bab5be7 | |
parent | 53963bc6301f3274a253ab6c44bdd352224b267f [diff] |
[vm/compiler] Generate PC descriptors for deopt points even if not optimizing To reduce size, PC descriptors corresponding to deoptimization points were omitted if FLAG_optimization_counter_threshold < 0. However, even if generation of optimized code is disabled with '--optimization-counter-threshold=-1' option, we could still load optimized code from snapshot. The loaded code can trigger deoptimization and PC descriptors corresponding to deoptimization points could be needed. This change removes this incorrect optimization of PC descriptors size when optimizing compiler is disabled. Fixes https://github.com/dart-lang/sdk/issues/33389 Change-Id: I74b0fab34ca1a46672e5a8d5c45ea9b506eab9b1 Reviewed-on: https://dart-review.googlesource.com/59481 Reviewed-by: Ryan Macnak <rmacnak@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.