WASM: Generate throw instruction instead of wasmThrow call
This commit is contained in:
committed by
TeamCityServer
parent
e5e44a0152
commit
6ca965af6f
@@ -67,8 +67,3 @@ internal fun <T, R> boxIntrinsic(x: T): R =
|
||||
@ExcludedFromCodegen
|
||||
internal fun <T, R> unboxIntrinsic(x: T): R =
|
||||
implementedAsIntrinsic
|
||||
|
||||
internal fun wasmThrow(e: Throwable): Nothing {
|
||||
println("Kotlin/Wasm exception wasm thrown: ${e.message}")
|
||||
wasm_unreachable()
|
||||
}
|
||||
Reference in New Issue
Block a user