7dea1d8a2c8b545dc99da2b8a2bed0ca70d8298a
When inlining implicit getters via the polymorphic inliner (and not through the flow graph optimizer) the fields loaded must be added to the list of guarded fields that trigger deoptimization when a store violated the field type guard. Also, this CL avoids adding fields to the list from inlining candidates that do not get inlined after all. Previously, the optimizer pass on the callee graph would add guarded fields even if the final graph does not get inlined. TEST=tests/language/vm/optimized_guarded_field_test.dart R=kmillikin@google.com Review URL: https://codereview.chromium.org//24096018 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27655 260f80e4-7a28-3924-810f-c04153c831b5
This is the repository of the Dart programming language and its associated tools, libraries, and samples. For license information, please see LICENSE. You can find more about Dart online at http://dartlang.org or http://code.google.com/p/dart. Here's a brief guide to what's in here: editor/ Eclipse-based standalone Dart IDE. lib/ Libraries that ship with the Dart runtime (core, html, etc.). pkg/ Packages that are not shipped with the core runtime. runtime/ Dart VM and code for running it as a standalone app. samples/ Sample Dart programs. tests/ Automated tests. third_party/ External dependencies. tools/ Build scripts, text editor support files, etc. utils/ Utilities for Dart applications.
Description
Languages
Dart
84.6%
C++
13%
Python
0.7%
JavaScript
0.5%
HTML
0.4%
Other
0.5%