JVM_IR: do not generate $assertionsDisabled twice during inlining

This commit is contained in:
pyos
2021-06-28 19:18:51 +02:00
committed by max-kammerer
parent 123c76053f
commit e64cda61d5
12 changed files with 93 additions and 24 deletions
@@ -894,6 +894,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt");
}
@Test
@TestMetadata("jvmInlineIntoTwoMethods.kt")
public void testJvmInlineIntoTwoMethods() throws Exception {
runTest("compiler/testData/codegen/boxInline/assert/jvmInlineIntoTwoMethods.kt");
}
@Test
@TestMetadata("jvmInlineUsedAsNoinline.kt")
public void testJvmInlineUsedAsNoinline() throws Exception {
@@ -894,6 +894,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
runTest("compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt");
}
@Test
@TestMetadata("jvmInlineIntoTwoMethods.kt")
public void testJvmInlineIntoTwoMethods() throws Exception {
runTest("compiler/testData/codegen/boxInline/assert/jvmInlineIntoTwoMethods.kt");
}
@Test
@TestMetadata("jvmInlineUsedAsNoinline.kt")
public void testJvmInlineUsedAsNoinline() throws Exception {
@@ -894,6 +894,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
runTest("compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt");
}
@Test
@TestMetadata("jvmInlineIntoTwoMethods.kt")
public void testJvmInlineIntoTwoMethods() throws Exception {
runTest("compiler/testData/codegen/boxInline/assert/jvmInlineIntoTwoMethods.kt");
}
@Test
@TestMetadata("jvmInlineUsedAsNoinline.kt")
public void testJvmInlineUsedAsNoinline() throws Exception {
@@ -894,6 +894,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
runTest("compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt");
}
@Test
@TestMetadata("jvmInlineIntoTwoMethods.kt")
public void testJvmInlineIntoTwoMethods() throws Exception {
runTest("compiler/testData/codegen/boxInline/assert/jvmInlineIntoTwoMethods.kt");
}
@Test
@TestMetadata("jvmInlineUsedAsNoinline.kt")
public void testJvmInlineUsedAsNoinline() throws Exception {
@@ -894,6 +894,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
runTest("compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt");
}
@Test
@TestMetadata("jvmInlineIntoTwoMethods.kt")
public void testJvmInlineIntoTwoMethods() throws Exception {
runTest("compiler/testData/codegen/boxInline/assert/jvmInlineIntoTwoMethods.kt");
}
@Test
@TestMetadata("jvmInlineUsedAsNoinline.kt")
public void testJvmInlineUsedAsNoinline() throws Exception {
@@ -894,6 +894,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
runTest("compiler/testData/codegen/boxInline/assert/jvmDoubleInline.kt");
}
@Test
@TestMetadata("jvmInlineIntoTwoMethods.kt")
public void testJvmInlineIntoTwoMethods() throws Exception {
runTest("compiler/testData/codegen/boxInline/assert/jvmInlineIntoTwoMethods.kt");
}
@Test
@TestMetadata("jvmInlineUsedAsNoinline.kt")
public void testJvmInlineUsedAsNoinline() throws Exception {