JVM IR: Use INVOKESPECIAL instead of INVOKEVIRTUAL for default private

suspend functions.

 #KT-26592
This commit is contained in:
Ilmir Usmanov
2021-02-23 15:59:51 +01:00
parent 3ee62cb1b2
commit d44799fa78
6 changed files with 58 additions and 1 deletions
@@ -9549,6 +9549,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/interfaceMethodWithBodyGeneric.kt");
}
@Test
@TestMetadata("jvmDefault.kt")
public void testJvmDefault() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault.kt");
}
@Test
@TestMetadata("overrideInInlineClass.kt")
public void testOverrideInInlineClass() throws Exception {
@@ -9549,6 +9549,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/interfaceMethodWithBodyGeneric.kt");
}
@Test
@TestMetadata("jvmDefault.kt")
public void testJvmDefault() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault.kt");
}
@Test
@TestMetadata("overrideInInlineClass.kt")
public void testOverrideInInlineClass() throws Exception {