JVM_IR don't use Intrinsics.stringPlus for 2-argument concatenation
This commit is contained in:
committed by
TeamCityServer
parent
8a459821d0
commit
7e86f5dcd9
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
fun f(s: String?, t: String): String {
|
||||
return s.plus(t)
|
||||
}
|
||||
@@ -12,6 +10,9 @@ fun h(s: String, t: Any?): String {
|
||||
return s + t
|
||||
}
|
||||
|
||||
// 0 valueOf
|
||||
// 0 NEW java/lang/StringBuilder
|
||||
// 3 INVOKESTATIC kotlin/jvm/internal/Intrinsics.stringPlus
|
||||
// JVM_TEMPLATES
|
||||
// 1 INVOKESTATIC kotlin/jvm/internal/Intrinsics.stringPlus
|
||||
// - used in 's.plus(t)'
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 0 INVOKESTATIC kotlin/jvm/internal/Intrinsics.stringPlus
|
||||
Reference in New Issue
Block a user