dart-sdk/runtime
Vyacheslav Egorov ec9b1c385a VM: Improve specialization of calls on receiver in AOT mode.
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 .
2016-06-10 18:12:49 +02:00
..
bin Fix Windows bots 2016-06-08 07:20:42 -07:00
include Allow embedder service request handlers to return JSON-RPC errors. 2016-06-07 15:47:37 -07:00
lib Fix checked mode error 2016-06-08 07:34:55 -07:00
observatory Make the object store visible in Observatory. 2016-06-01 13:00:22 -07:00
platform VM: Fix WeakProperty processing during parallel marking. 2016-06-09 18:50:23 +02:00
tests/vm DBC: Eager deoptimization and CheckSmi instruction. 2016-06-09 09:47:56 -07:00
third_party - Add binary size analysis tool from Chromium. 2016-03-01 10:06:07 -08:00
tools Add --packages option to gen_snapshot in order to accept package map files (see https://github.com/dart-lang/sdk/issues/26362) 2016-06-06 17:12:20 -07:00
vm VM: Improve specialization of calls on receiver in AOT mode. 2016-06-10 18:12:49 +02:00
.gitignore
BUILD.gn Don't assume we want the iOS ABI if running simarm on Mac and the EABI otherwise. 2016-05-17 15:03:54 -07:00
codereview.settings Remove trailing slash in codereview.settings to fix review url double slash 2015-10-01 07:27:13 -07:00
CPPLINT.cfg - Use the simulator to do atomic operations that could also 2014-10-27 19:21:33 +00:00
dart-runtime.gyp VM: Split GYP build target 'runtime' to speedup SDK build times. 2016-04-21 11:40:19 +02:00
PRESUBMIT.py