JVM_IR KT-47984 inplace arguments inlining for @InlineOnly functions
This commit is contained in:
committed by
TeamCityServer
parent
ec90649854
commit
b01c13a4df
+34
@@ -18075,6 +18075,40 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineArgsInPlace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInPlace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInPlace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("breakInArgumentExpression.kt")
|
||||
public void testBreakInArgumentExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/breakInArgumentExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("continueInArgumentExpression.kt")
|
||||
public void testContinueInArgumentExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/continueInArgumentExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mapSet.kt")
|
||||
public void testMapSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mutableCollectionPlusAssign.kt")
|
||||
public void testMutableCollectionPlusAssign() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mutableCollectionPlusAssign.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+22
@@ -3251,6 +3251,28 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/inlineArgsInPlace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInPlace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInPlace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("println.kt")
|
||||
public void testPrintln() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inlineArgsInPlace/println.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sin.kt")
|
||||
public void testSin() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inlineArgsInPlace/sin.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+34
@@ -18219,6 +18219,40 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineArgsInPlace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInPlace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInPlace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("breakInArgumentExpression.kt")
|
||||
public void testBreakInArgumentExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/breakInArgumentExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("continueInArgumentExpression.kt")
|
||||
public void testContinueInArgumentExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/continueInArgumentExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mapSet.kt")
|
||||
public void testMapSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mutableCollectionPlusAssign.kt")
|
||||
public void testMutableCollectionPlusAssign() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mutableCollectionPlusAssign.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+22
@@ -3395,6 +3395,28 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/inlineArgsInPlace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInPlace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInPlace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("println.kt")
|
||||
public void testPrintln() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inlineArgsInPlace/println.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sin.kt")
|
||||
public void testSin() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inlineArgsInPlace/sin.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user