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:29:22 +0000 (14:29 +0000)
commit4f97a212b6ff801eb9f7f88a87f44e0584339cca
treeed2f46d965cb5f5e87b93836f0d94e72ab2cfd71
parenteebfed8b2fc4d6efa614f98001a0dc918bd225c0
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

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