summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2021-03-31 22:13:54 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-31 22:13:54 +0000
commitaf9edf364030cf566907caa26c3d4830c7909d74 (patch)
tree6a431222409f3a1a96c775d14cf455b82d466301 /test/ProfileTestMultiDex/Main.java
parentba9ea4d92de6c8cc0699af37f3c5886cbc95fd25 (diff)
parentcff30a0bfa3c4212f304caef24236884e144375d (diff)
Better support ICs on virtual calls am: cff30a0bfa
Original change: https://android-review.googlesource.com/c/platform/art/+/1654168 Change-Id: Id832fdc99fe14a6d2c56a94a009229303e586fbc
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
-rw-r--r--test/ProfileTestMultiDex/Main.java6
1 files changed, 6 insertions, 0 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();
}