summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2021-04-08 04:30:57 +0000
committerScott Lobdell <slobdell@google.com>2021-04-08 04:30:57 +0000
commit8eae3acb300e8a508324811c759f6d16b829a6c8 (patch)
tree7e0d84f19e33712e6a06606ddc6ad43dc6ecc4f0 /test/ProfileTestMultiDex
parenta4606c96424832a0e6f2f544564e8461718eb4b9 (diff)
parentc6a17b8202d1f35c0c37b97757e58c4a48533629 (diff)
Merge SP1A.210407.002
Change-Id: I043a1159746e8e8dc419096f465694f096041ae3
Diffstat (limited to 'test/ProfileTestMultiDex')
-rw-r--r--test/ProfileTestMultiDex/Main.java6
-rw-r--r--test/ProfileTestMultiDex/main.jpp5
-rw-r--r--test/ProfileTestMultiDex/main.list1
3 files changed, 11 insertions, 1 deletions
diff --git a/test/ProfileTestMultiDex/Main.java b/test/ProfileTestMultiDex/Main.java
index a84cb98543..98d4d96281 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 bd548a88ed..33fede8a5b 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 8ef9280c9e..023f948d0f 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