Add `$inline$` to `localStaticNop()` in run-test 569.
Test: testrunner.py --host --optimizing -t 569
Bug: 181943478
Change-Id: I072e9e20ec7b65007fdf45805e33c45358b5cc32
diff --git a/test/569-checker-pattern-replacement/src/Main.java b/test/569-checker-pattern-replacement/src/Main.java
index 9d0f772..9f4598d 100644
--- a/test/569-checker-pattern-replacement/src/Main.java
+++ b/test/569-checker-pattern-replacement/src/Main.java
@@ -17,19 +17,13 @@
public class Main {
static class ExpectedError extends Error {}
- /// CHECK-START: void Main.localStaticNopAndThrow() inliner (before)
- /// CHECK: InvokeStaticOrDirect method_name:Main.localStaticNop
-
- /// CHECK-START: void Main.localStaticNopAndThrow() inliner (after)
- /// CHECK-NOT: InvokeStaticOrDirect method_name:Main.localStaticNop
-
public static void localStaticNopAndThrow() {
// Pattern matching replaces the invoke even in a block that ends with a `throw`.
- localStaticNop();
+ $inline$localStaticNop();
throw new ExpectedError();
}
- public static void localStaticNop() {}
+ public static void $inline$localStaticNop() {}
/// CHECK-START: void Main.staticNopNeverInline() inliner (before)
/// CHECK: InvokeStaticOrDirect