[JS IR BE] Eqeq operator lowering. IntrinsicifyCallsLowering.kt refactoring

This commit is contained in:
Svyatoslav Kuzmich
2018-07-04 18:10:10 +03:00
parent d412b6f4d0
commit a2f89cc711
3 changed files with 161 additions and 109 deletions
@@ -5,8 +5,6 @@
package kotlin.js
fun asIs(a: dynamic) = a
fun numberToByte(a: dynamic): Byte = toByte(numberToInt(a))
fun numberToDouble(a: dynamic): Double = js("+a").unsafeCast<Double>()