Debian Codegraph @

tests/snapshots/cli/gc/type-equivalence.wast/6.print

raw
1 (module
2 (type $s0 (;0;) (func (param i32)))
3 (type $s1 (;1;) (func (param i32 (ref $s0))))
4 (type $s2 (;2;) (func (param i32 (ref $s0))))
5 (type $t1 (;3;) (func (param (ref $s1))))
6 (type $t2 (;4;) (func (param (ref $s2))))
7 (type (;5;) (func))
8 (table (;0;) 4 4 funcref)
9 (export "run" (func 4))
10 (elem (;0;) (table 0) (i32.const 0) func $f1 $f2 $s1 $s2)
11 (func $s1 (;0;) (type $s1) (param i32 (ref $s0)))
12 (func $s2 (;1;) (type $s2) (param i32 (ref $s0)))
13 (func $f1 (;2;) (type $t1) (param (ref $s1)))
14 (func $f2 (;3;) (type $t2) (param (ref $s2)))
15 (func (;4;) (type 5)
16 ref.func $s1
17 i32.const 0
18 call_indirect (type $t1)
19 ref.func $s1
20 i32.const 1
21 call_indirect (type $t1)
22 ref.func $s2
23 i32.const 0
24 call_indirect (type $t1)
25 ref.func $s2
26 i32.const 1
27 call_indirect (type $t1)
28 ref.func $s1
29 i32.const 0
30 call_indirect (type $t2)
31 ref.func $s1
32 i32.const 1
33 call_indirect (type $t2)
34 ref.func $s2
35 i32.const 0
36 call_indirect (type $t2)
37 ref.func $s2
38 i32.const 1
39 call_indirect (type $t2)
40 )
41 )