WASM: Implement integer to string conversion operations

This commit is contained in:
Igor Laevsky
2021-07-29 13:21:33 +03:00
committed by TeamCityServer
parent 2538caa84f
commit f34a079699
4 changed files with 170 additions and 7 deletions
@@ -52,8 +52,6 @@ public class String internal constructor(internal val chars: CharArray) : Compar
internal fun stringLiteral(startAddr: Int, length: Int) = String(unsafeRawMemoryToCharArray(startAddr, length))
internal fun charToString(c: Char): String = String(charArrayOf(c))
//@JsFun("(it, other) => it + String(other)")
//private fun stringPlusImpl(it: String, other: String): String =
// implementedAsIntrinsic