Files
kotlin/compiler/testData/codegen/bytecodeText/stringOperations/primitiveToStringNotOptimizable.kt
Ting-Yuan Huang 79fcaae991 Implement constant folding in the IR backend for JVM
The newly added pass folds the set of constant functions of the
current backend, plus IrBuiltIns.
2019-03-20 21:02:55 +01:00

15 lines
351 B
Kotlin
Vendored

fun main(a: Boolean, b:Byte, c: Short, d: Int, e: Long, f: Float, g: Double, h: Char) {
a.toString()
b.toString()
c.toString()
d.toString()
e.toString()
f.toString()
g.toString()
h.toString()
}
/*Check that all "valueOf" are String ones and there is no boxing*/
// 8 valueOf
// 8 INVOKESTATIC java/lang/String.valueOf