Debian Codegraph @

tests/snapshots/testsuite/unreached-valid.wast/0.print

raw
1 (module
2 (type (;0;) (func (param i32) (result i32)))
3 (type (;1;) (func))
4 (type (;2;) (func (result i32)))
5 (type (;3;) (func (result i64)))
6 (export "select-trap-left" (func 0))
7 (export "select-trap-right" (func 1))
8 (export "select-unreached" (func 2))
9 (export "select_unreached_result_1" (func 3))
10 (export "select_unreached_result_2" (func 4))
11 (export "unreachable-num" (func 5))
12 (export "unreachable-ref" (func 6))
13 (func (;0;) (type 0) (param $cond i32) (result i32)
14 unreachable
15 i32.const 0
16 local.get $cond
17 select
18 )
19 (func (;1;) (type 0) (param $cond i32) (result i32)
20 i32.const 0
21 unreachable
22 local.get $cond
23 select
24 )
25 (func (;2;) (type 1)
26 unreachable
27 select
28 unreachable
29 i32.const 0
30 select
31 unreachable
32 i32.const 0
33 i32.const 0
34 select
35 unreachable
36 i32.const 0
37 i32.const 0
38 i32.const 0
39 select
40 unreachable
41 f32.const 0x0p+0 (;=0;)
42 i32.const 0
43 select
44 unreachable
45 )
46 (func (;3;) (type 2) (result i32)
47 unreachable
48 select
49 i32.add
50 )
51 (func (;4;) (type 3) (result i64)
52 unreachable
53 i64.const 0
54 i32.const 0
55 select
56 i64.add
57 )
58 (func (;5;) (type 1)
59 unreachable
60 select
61 i32.eqz
62 drop
63 )
64 (func (;6;) (type 1)
65 unreachable
66 select
67 ref.is_null
68 drop
69 )
70 )