JVM_IR: fold constant string concatenations
This commit is contained in:
@@ -3422,6 +3422,16 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constConcat.kt")
|
||||
public void testConstConcat() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/stringOperations/constConcat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constValConcat.kt")
|
||||
public void testConstValConcat() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/stringOperations/constValConcat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doNotAppendEmptyString.kt")
|
||||
public void testDoNotAppendEmptyString() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/stringOperations/doNotAppendEmptyString.kt");
|
||||
@@ -3462,6 +3472,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/stringOperations/nullableStringPlus.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("partiallyConstConcat.kt")
|
||||
public void testPartiallyConstConcat() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/stringOperations/partiallyConstConcat.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("plusAssign.kt")
|
||||
public void testPlusAssign() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/stringOperations/plusAssign.kt");
|
||||
|
||||
Reference in New Issue
Block a user