mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
![]() When encountering call this.m(...) we can check if m resolves to the same method in all concrete subclasses of the receiver class. If it does then we don't need any checks and can just use a StaticCall instead of InstanceCall. This is allows us to improve code quality for cases like: class Base { var _field; foo() { _field = true; } } class A01 extends Base { } ... class A16 extends Base { } Previously AOT would generate InstanceCall(get:_field) in the method foo. However with this change we generate StaticCall(...) which subsequently gets handled by the inliner. R=fschneider@google.com BUG= Review URL: https://codereview.chromium.org/2055263002 . |
||
---|---|---|
.. | ||
bin | ||
include | ||
lib | ||
observatory | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
CPPLINT.cfg | ||
dart-runtime.gyp | ||
PRESUBMIT.py |