OSDN Git Service

Cleanup polymorphic inlining to the same target.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 25 Feb 2016 16:17:54 +0000 (16:17 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 29 Feb 2016 14:53:02 +0000 (14:53 +0000)
commit428c16dd6a598cdc5f30acb989726051f11e8883
treeeafeac870acd2c3a183ab7125c90f011db59ba73
parent06fc03b2bf02f1ccecfaaaaaa36ee8be65711c47
Cleanup polymorphic inlining to the same target.

- Don't do expensive lookups, just fetch the ArtMethods from the
  imtable or vtable.
- Don't perform the optimization if we may end up in the conflicting
  trampoline.

bug:27398183

(cherry picked from commit 4f97a212b6ff801eb9f7f88a87f44e0584339cca)

Change-Id: Ia4007743ae00860f679f96f45eb14d26e6dc3fce
compiler/optimizing/inliner.cc