mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
Remove Concat and StringPlus intrinsics in favor of IrStringConcatenation.
This commit is contained in:
committed by
max-kammerer
parent
26c9d69252
commit
f2392a6a28
8
compiler/testData/codegen/bytecodeText/stringOperations/singleConcat.kt
vendored
Normal file
8
compiler/testData/codegen/bytecodeText/stringOperations/singleConcat.kt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
fun f(s: String) = "$s"
|
||||
|
||||
fun g(s: String?) = "$s"
|
||||
|
||||
// 1 valueOf
|
||||
// 0 NEW java/lang/StringBuilder
|
||||
Reference in New Issue
Block a user