diff options
Diffstat (limited to 'test/609-checker-inline-interface/src/Main.java')
-rw-r--r-- | test/609-checker-inline-interface/src/Main.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/609-checker-inline-interface/src/Main.java b/test/609-checker-inline-interface/src/Main.java index 249b7781f0..07709ea216 100644 --- a/test/609-checker-inline-interface/src/Main.java +++ b/test/609-checker-inline-interface/src/Main.java @@ -32,7 +32,7 @@ public final class Main implements Interface { // Expected } try { - testInterfaceToVirtualCall(); + testInterfaceToDirectCall(); } catch (Error e) { // Expected. } @@ -53,19 +53,19 @@ public final class Main implements Interface { methodWithInvokeInterface(itf); } - /// CHECK-START: void Main.testInterfaceToVirtualCall() inliner (before) + /// CHECK-START: void Main.testInterfaceToDirectCall() inliner (before) /// CHECK: InvokeStaticOrDirect method_name:Main.methodWithInvokeInterface - /// CHECK-START: void Main.testInterfaceToVirtualCall() inliner (before) + /// CHECK-START: void Main.testInterfaceToDirectCall() inliner (before) /// CHECK-NOT: InvokeInterface - /// CHECK-START: void Main.testInterfaceToVirtualCall() inliner (after) - /// CHECK: InvokeVirtual method_name:Main.doCall + /// CHECK-START: void Main.testInterfaceToDirectCall() inliner (after) + /// CHECK: InvokeStaticOrDirect method_name:Main.doCall - /// CHECK-START: void Main.testInterfaceToVirtualCall() inliner (after) - /// CHECK-NOT: InvokeStaticOrDirect + /// CHECK-START: void Main.testInterfaceToDirectCall() inliner (after) + /// CHECK-NOT: InvokeVirtual /// CHECK-NOT: InvokeInterface - public static void testInterfaceToVirtualCall() { + public static void testInterfaceToDirectCall() { methodWithInvokeInterface(m); } |