blob: 804037bddd07c2048159fc25cfe89c5194d8a82b [file] [edit]
(module
(type $0 (func (param i32)))
(type $1 (func))
(tag $e (type $0) (param i32))
(func $test
(try $l0
(do
(throw $e
(i32.const 0)
)
)
(catch $e
(drop
(pop i32)
)
(rethrow $l0)
)
)
(try $try_outer
(do
(try
(do
(throw $e
(i32.const 0)
)
)
(delegate $try_outer)
)
)
(catch_all
(nop)
)
)
(block $catch_all_dest
(try_table (catch_all $catch_all_dest)
(throw $e
(i32.const 0)
)
)
)
(throw_ref
(ref.null noexn)
)
)
)
getExpressionInfo(throw) = {"id":56,"type":1,"tag":"e"}
getExpressionInfo(rethrow) = {"id":57,"type":1,"target":"l0"}
getExpressionInfo(try_catch) = {"id":54,"type":1,"name":"l0","catchTags":["e"],"hasCatchAll":false,"delegateTarget":null,"isDelegate":false}
getExpressionInfo(try_delegate) = {"id":54,"type":0,"name":"try_outer","catchTags":[],"hasCatchAll":true,"delegateTarget":null,"isDelegate":false}
getExpressionInfo(try_table) = {"id":55,"type":1,"numCatches":1,"catches":[{"tag":null,"dest":"catch_all_dest","ref":false,"sentType":0}],"hasCatchAll":true}
getExpressionInfo(throw_ref) = {"id":58,"type":1}