JVM_IR don't use Intrinsics.stringPlus for 2-argument concatenation
This commit is contained in:
committed by
TeamCityServer
parent
8a459821d0
commit
7e86f5dcd9
@@ -1,3 +1,9 @@
|
||||
fun foo(x: String?, y: Any?) = x + y
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 1 stringPlus
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 NEW java/lang/StringBuilder
|
||||
// 2 INVOKEVIRTUAL java/lang/StringBuilder\.append \(Ljava/lang/Object;\)Ljava/lang/StringBuilder;
|
||||
// 1 INVOKEVIRTUAL java/lang/StringBuilder\.toString \(\)Ljava/lang/String;
|
||||
|
||||
Reference in New Issue
Block a user