diff options
author | Aart Bik <ajcbik@google.com> | 2017-11-21 16:31:53 -0800 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2017-11-24 17:06:40 -0800 |
commit | f0010dd946b17490d2f792d845ea4f304a0bea28 (patch) | |
tree | e68b071ef742766090d722129c8c1d04ba2f90b0 /test/008-exceptions/src/MultiDexBadInit.java | |
parent | 6f99acac2e1d60dfb1ed45ce69ec5a542847687e (diff) |
Apply individual intrinsic recognition during inliner.
Rationale:
Inliner could introduce new method calls, in particular
it could change invoke-interface to invoke-virtual,
which could expose new intrinsics. This situation
happens, for example, in Kotlin generated code where
String operations first go through the CharSequence
interface. Rather than running a full new phase,
we just recognize intrinsics when interface calls
are replaced by virtual calls.
This optimization boosts KotlinMicroItems by 100%
Test: test-art-host test-art-target
Change-Id: Ibd0519283d67ed6997b056e34b4eafdd49fcbc2d
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions