diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2021-04-02 01:00:36 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-04-02 01:00:36 +0000 |
| commit | 1468067e842e7a2b56e7ad64396fd46db0e3e684 (patch) | |
| tree | 49cd6841e3ebe25574b1844a69194557fc57650f /test/ProfileTestMultiDex | |
| parent | 5aacda744106b82f2cb5029c2e9f006b0385b3c1 (diff) | |
| parent | ca31f11e61e19d07910a61240fddb656c1ff6edc (diff) | |
Snap for 7253016 from ca31f11e61e19d07910a61240fddb656c1ff6edc to sc-d1-release
Change-Id: I237853ff051a74ca81fd5418816db521b2beaf61
Diffstat (limited to 'test/ProfileTestMultiDex')
| -rw-r--r-- | test/ProfileTestMultiDex/Main.java | 6 | ||||
| -rw-r--r-- | test/ProfileTestMultiDex/main.jpp | 5 | ||||
| -rw-r--r-- | test/ProfileTestMultiDex/main.list | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/test/ProfileTestMultiDex/Main.java b/test/ProfileTestMultiDex/Main.java index a84cb98543d..98d4d962818 100644 --- a/test/ProfileTestMultiDex/Main.java +++ b/test/ProfileTestMultiDex/Main.java @@ -72,6 +72,12 @@ class TestInline { } } +class TestInlineSubtype extends TestInline { + public void foobar() { + this.inlineMonomorphic(new SubA()); + } +} + abstract class Secret { abstract int getIdentity(); } diff --git a/test/ProfileTestMultiDex/main.jpp b/test/ProfileTestMultiDex/main.jpp index bd548a88ed8..33fede8a5b5 100644 --- a/test/ProfileTestMultiDex/main.jpp +++ b/test/ProfileTestMultiDex/main.jpp @@ -1,7 +1,7 @@ Main: @@com.android.jack.annotations.ForceInMainDex class Main -TestInqline: +TestInline: @@com.android.jack.annotations.ForceInMainDex class TestInline Secret: @@ -25,3 +25,6 @@ SubE: ZLotsOfMethods: @@com.android.jack.annotations.ForceInMainDex class ZLotsOfMethods +TestInlineSubtype: + @@com.android.jack.annotations.ForceInMainDex + class TestInlineSubtype diff --git a/test/ProfileTestMultiDex/main.list b/test/ProfileTestMultiDex/main.list index 8ef9280c9e9..023f948d0ff 100644 --- a/test/ProfileTestMultiDex/main.list +++ b/test/ProfileTestMultiDex/main.list @@ -1,5 +1,6 @@ Main.class TestInline.class +TestInlineSubtype.class Secret.class Super.class SubA.class |
