JVM IR: Avoid double mangling of function reference invoke methods

This commit is contained in:
Steven Schäfer
2021-04-27 15:33:39 +02:00
committed by Alexander Udalov
parent 276ffd5a4b
commit 84d78035e4
16 changed files with 210 additions and 9 deletions
@@ -19193,6 +19193,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/javaSamReturnResult.kt");
}
@Test
@TestMetadata("mangledSamWrappers.kt")
public void testMangledSamWrappers() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/mangledSamWrappers.kt");
}
@Test
@TestMetadata("returnIC.kt")
public void testReturnIC() throws Exception {
@@ -3572,6 +3572,24 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/mangledInlineClassInterfaceImplementation.kt");
}
@Test
@TestMetadata("mangledSamWrappers.kt")
public void testMangledSamWrappers() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/mangledSamWrappers.kt");
}
@Test
@TestMetadata("mangledSamWrappersIndy.kt")
public void testMangledSamWrappersIndy() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/mangledSamWrappersIndy.kt");
}
@Test
@TestMetadata("mangledSamWrappersOld.kt")
public void testMangledSamWrappersOld() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/mangledSamWrappersOld.kt");
}
@Test
@TestMetadata("noActualCallsOfInlineFunctionsOfInlineClass.kt")
public void testNoActualCallsOfInlineFunctionsOfInlineClass() throws Exception {