JVM_IR KT-46822 don't generate too deep StringBuilder.append trees

This commit is contained in:
Dmitry Petrov
2021-05-21 16:59:25 +03:00
committed by teamcityserver
parent ba00709e4d
commit 261b42f5c5
10 changed files with 153 additions and 16 deletions
@@ -8625,6 +8625,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/dataClasses/changingVarParam.kt");
}
@TestMetadata("dataClassWithManyFields.kt")
public void testDataClassWithManyFields() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/dataClassWithManyFields.kt");
}
@TestMetadata("doubleParam.kt")
public void testDoubleParam() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/doubleParam.kt");
@@ -8031,6 +8031,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/changingVarParam.kt");
}
@TestMetadata("dataClassWithManyFields.kt")
public void testDataClassWithManyFields() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/dataClassWithManyFields.kt");
}
@TestMetadata("doubleParam.kt")
public void testDoubleParam() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/doubleParam.kt");
@@ -8031,6 +8031,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/changingVarParam.kt");
}
@TestMetadata("dataClassWithManyFields.kt")
public void testDataClassWithManyFields() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/dataClassWithManyFields.kt");
}
@TestMetadata("doubleParam.kt")
public void testDoubleParam() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/doubleParam.kt");
@@ -3644,6 +3644,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/dataClasses/changingVarParam.kt");
}
@TestMetadata("dataClassWithManyFields.kt")
public void testDataClassWithManyFields() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/dataClassWithManyFields.kt");
}
@TestMetadata("genericParam.kt")
public void testGenericParam() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/genericParam.kt");