Hello, is there a sample of a wasm with working try/catch opcodes, or how
could I build one?
I've tried the following.
(module
(func $add (param $lhs i32) (param $rhs i32) (result i32)
(try
(catch
drop
)
)
(i32.const 0)
)
(except)
(export "add" (func $add))
)
But node --experimental-wasm-eh fails with:
(node:58386) UnhandledPromiseRejectionWarning: CompileError: AsyncCompile:
Compiling wasm function #0:<?> failed: Invalid exception index: 26 @+52
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.