Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/unreached-valid.wast/0.print

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