Debian Codegraph @

tests/snapshots/testsuite/func_ptrs.wast/33.print

raw
1 (module
2 (type $T (;0;) (func (result i32)))
3 (type (;1;) (func (param i32) (result i32)))
4 (table (;0;) 2 2 funcref)
5 (export "callt" (func 2))
6 (elem (;0;) (table 0) (i32.const 0) func $t1 $t2)
7 (func $t1 (;0;) (type $T) (result i32)
8 i32.const 1
9 )
10 (func $t2 (;1;) (type $T) (result i32)
11 i32.const 2
12 )
13 (func (;2;) (type 1) (param $i i32) (result i32)
14 local.get $i
15 call_indirect (type $T)
16 )
17 )