JVM_IR fix string concatenation performance issues

KT-50080 KT-50084 KT-50140
This commit is contained in:
Dmitry Petrov
2021-12-08 18:09:52 +03:00
committed by TeamCityServer
parent fa41e0f5a9
commit 3017397960
18 changed files with 451 additions and 34 deletions
@@ -34040,6 +34040,26 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/strings/concatDynamicWithSpecialSymbols.kt");
}
@TestMetadata("concatGenericWithNullablePrimitiveUpperBound.kt")
public void testConcatGenericWithNullablePrimitiveUpperBound() throws Exception {
runTest("compiler/testData/codegen/box/strings/concatGenericWithNullablePrimitiveUpperBound.kt");
}
@TestMetadata("concatGenericWithPrimitiveUpperBound.kt")
public void testConcatGenericWithPrimitiveUpperBound() throws Exception {
runTest("compiler/testData/codegen/box/strings/concatGenericWithPrimitiveUpperBound.kt");
}
@TestMetadata("concatGenericWithStringUpperBound.kt")
public void testConcatGenericWithStringUpperBound() throws Exception {
runTest("compiler/testData/codegen/box/strings/concatGenericWithStringUpperBound.kt");
}
@TestMetadata("concatNullableGenericWithPrimitiveUpperBound.kt")
public void testConcatNullableGenericWithPrimitiveUpperBound() throws Exception {
runTest("compiler/testData/codegen/box/strings/concatNullableGenericWithPrimitiveUpperBound.kt");
}
@TestMetadata("constInStringTemplate.kt")
public void testConstInStringTemplate() throws Exception {
runTest("compiler/testData/codegen/box/strings/constInStringTemplate.kt");
@@ -34085,6 +34105,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/strings/kt42457_old.kt");
}
@TestMetadata("kt50140.kt")
public void testKt50140() throws Exception {
runTest("compiler/testData/codegen/box/strings/kt50140.kt");
}
@TestMetadata("kt5389_stringBuilderGet.kt")
public void testKt5389_stringBuilderGet() throws Exception {
runTest("compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt");