Debian Codegraph @

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

raw
1 (module
2 (rec
3 (type $t1 (;0;) (sub (func (param i32 (ref $t3)))))
4 (type $t2 (;1;) (sub $t1 (func (param i32 (ref $t2)))))
5 (type $t3 (;2;) (sub $t2 (func (param i32 (ref $t1)))))
6 )
7 (type (;3;) (func (param (ref $t1))))
8 (type (;4;) (func (param (ref $t2))))
9 (type (;5;) (func (param (ref $t3))))
10 (func $f1 (;0;) (type 3) (param $r (ref $t1))
11 local.get $r
12 call $f1
13 )
14 (func $f2 (;1;) (type 4) (param $r (ref $t2))
15 local.get $r
16 call $f1
17 local.get $r
18 call $f2
19 )
20 (func $f3 (;2;) (type 5) (param $r (ref $t3))
21 local.get $r
22 call $f1
23 local.get $r
24 call $f2
25 local.get $r
26 call $f3
27 )
28 )