Debian Codegraph @

tests/cli/print-deprecated-exceptions.wat.stdout

raw
1 (module
2 (type (;0;) (func (param i32 i64)))
3 (type (;1;) (func (param i32)))
4 (type (;2;) (func))
5 (type (;3;) (func (result i32 i64)))
6 (type (;4;) (func (param i32) (result i32 i64)))
7 (import "m" "t" (tag (;0;) (type 0) (param i32 i64)))
8 (tag (;1;) (type 1) (param i32))
9 (func $check-throw (;0;) (type 2)
10 i32.const 1
11 i64.const 2
12 throw 0
13 )
14 (func $check-try-catch-rethrow (;1;) (type 2)
15 try (type 3) (result i32 i64) ;; label = @1
16 call $check-throw
17 unreachable
18 catch 0
19 catch 1
20 i64.const 2
21 catch_all
22 rethrow 0 (;@1;)
23 end
24 drop
25 drop
26 )
27 (func $try-with-params (;2;) (type 2)
28 i32.const 0
29 try (type 4) (param i32) (result i32 i64) ;; label = @1
30 i32.popcnt
31 drop
32 call $check-throw
33 unreachable
34 catch 1
35 i64.const 2
36 catch_all
37 i32.const 0
38 i64.const 2
39 end
40 drop
41 drop
42 )
43 (func $mix-old-and-new (;3;) (type 2)
44 try_table ;; label = @1
45 try ;; label = @2
46 catch_all
47 end
48 end
49 )
50 )