Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/table.wast/48.print

raw
1 (module
2 (type $dummy (;0;) (func))
3 (type (;1;) (func (result funcref)))
4 (import "M" "g" (global $g (;0;) (ref $dummy)))
5 (table $t1 (;0;) 10 funcref)
6 (table $t2 (;1;) 10 funcref ref.func $dummy)
7 (table $t3 (;2;) 10 (ref $dummy) ref.func $dummy)
8 (table $t4 (;3;) 10 funcref global.get $g)
9 (table $t5 (;4;) 10 (ref $dummy) global.get $g)
10 (export "get1" (func 1))
11 (export "get2" (func 2))
12 (export "get3" (func 3))
13 (export "get4" (func 4))
14 (export "get5" (func 5))
15 (func $dummy (;0;) (type $dummy))
16 (func (;1;) (type 1) (result funcref)
17 i32.const 1
18 table.get $t1
19 )
20 (func (;2;) (type 1) (result funcref)
21 i32.const 4
22 table.get $t2
23 )
24 (func (;3;) (type 1) (result funcref)
25 i32.const 7
26 table.get $t3
27 )
28 (func (;4;) (type 1) (result funcref)
29 i32.const 8
30 table.get $t4
31 )
32 (func (;5;) (type 1) (result funcref)
33 i32.const 9
34 table.get $t5
35 )
36 )