[WASM] When expressions optimisations for String and Int constant cases

This commit is contained in:
Igor Yakovlev
2022-07-14 13:04:45 +02:00
committed by teamcity
parent fff6b16483
commit 95396eb61a
11 changed files with 742 additions and 76 deletions
@@ -105,7 +105,6 @@ internal fun ExternalInterfaceType.externAsWasmAnyref(): anyref =
internal fun Any?.asWasmExternRef(): ExternalInterfaceType =
implementedAsIntrinsic
@JsFun("(ref) => ref == null")
internal external fun isNullish(ref: ExternalInterfaceType): Boolean