OSDN Git Service

Revert "Revert "Support for inlining virtual and interface calls.""
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 9 Jun 2015 09:37:32 +0000 (10:37 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 10 Jun 2015 15:13:34 +0000 (16:13 +0100)
commit454a481d116ec4e6dc36fab23a073017b1436d7f
tree9c603f9e2015a405ed1932f397df4f42930c23e2
parentbebf6bdf833ea9e090171303200bd8adc9321762
Revert "Revert "Support for inlining virtual and interface calls.""

It now works thanks to:
- https://android-review.googlesource.com/#/c/154016/ where
  the invoke type is changed.
- The new FindMethodIndexIn method in this change, that
  locates the right method index relative to the caller's
  dex file.

This reverts commit 6e4758615308bb525b6350c30468e33a2e1f2274.

Change-Id: Iddba11664a9241e210fec211cd2aed9f4b90d118
compiler/optimizing/inliner.cc
compiler/optimizing/inliner.h
compiler/optimizing/optimizing_compiler.cc
test/444-checker-nce/src/Main.java
test/458-checker-instruction-simplification/src/Main.java
test/490-checker-inline/expected.txt [new file with mode: 0644]
test/490-checker-inline/info.txt [new file with mode: 0644]
test/490-checker-inline/src/Main.java [new file with mode: 0644]
test/493-checker-inline-invoke-interface/expected.txt [new file with mode: 0644]
test/493-checker-inline-invoke-interface/info.txt [new file with mode: 0644]
test/493-checker-inline-invoke-interface/src/Main.java [new file with mode: 0644]