summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-12-15 13:15:29 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2023-12-15 17:05:34 +0000
commit56bbfc1781e6b4ce216974421efddb55fe25a6f7 (patch)
tree590cd0e70996022736bb07044584cf24a8f76b9d
parentb4d7dc51f5828eaeacb568b4c7a00a994b27cbef (diff)
Add an empty loop in the test.
Test: test.py Change-Id: Ia8b60b2b89e340fafc7b7a2d0d298b211e642f7b
-rw-r--r--test/Main/Main.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Main/Main.java b/test/Main/Main.java
index b4df99945f..3e94764b0b 100644
--- a/test/Main/Main.java
+++ b/test/Main/Main.java
@@ -16,5 +16,8 @@
class Main {
public static void main(String args[]) {
+ // Empty loop to avoid the method to be pattern matched (it's used in 595-profile-saving and
+ // we expect the method to be baseline compiled there).
+ for (int i = 0; i < 100; i++) {}
}
}