Remove Concat and StringPlus intrinsics in favor of IrStringConcatenation.

This commit is contained in:
Steven Schäfer
2019-04-04 16:09:49 +02:00
committed by max-kammerer
parent 26c9d69252
commit f2392a6a28
20 changed files with 192 additions and 120 deletions
@@ -17960,6 +17960,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/strings/rawStringsWithManyQuotes.kt");
}
@TestMetadata("simpleStringPlus.kt")
public void testSimpleStringPlus() throws Exception {
runTest("compiler/testData/codegen/box/strings/simpleStringPlus.kt");
}
@TestMetadata("singleConcatNullable.kt")
public void testSingleConcatNullable() throws Exception {
runTest("compiler/testData/codegen/box/strings/singleConcatNullable.kt");
}
@TestMetadata("stringBuilderAppend.kt")
public void testStringBuilderAppend() throws Exception {
runTest("compiler/testData/codegen/box/strings/stringBuilderAppend.kt");
@@ -17969,6 +17979,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testStringPlusOnlyWorksOnString() throws Exception {
runTest("compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt");
}
@TestMetadata("stringPlusOverride.kt")
public void testStringPlusOverride() throws Exception {
runTest("compiler/testData/codegen/box/strings/stringPlusOverride.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/super")
@@ -19105,6 +19105,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/strings/rawStringsWithManyQuotes.kt");
}
@TestMetadata("simpleStringPlus.kt")
public void testSimpleStringPlus() throws Exception {
runTest("compiler/testData/codegen/box/strings/simpleStringPlus.kt");
}
@TestMetadata("singleConcatNullable.kt")
public void testSingleConcatNullable() throws Exception {
runTest("compiler/testData/codegen/box/strings/singleConcatNullable.kt");
}
@TestMetadata("stringBuilderAppend.kt")
public void testStringBuilderAppend() throws Exception {
runTest("compiler/testData/codegen/box/strings/stringBuilderAppend.kt");
@@ -19114,6 +19124,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testStringPlusOnlyWorksOnString() throws Exception {
runTest("compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt");
}
@TestMetadata("stringPlusOverride.kt")
public void testStringPlusOverride() throws Exception {
runTest("compiler/testData/codegen/box/strings/stringPlusOverride.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/super")