Debian Codegraph @

tests/snapshots/testsuite/table_init.wast/98.print

raw
1 (module
2 (type (;0;) (func (result i32)))
3 (type (;1;) (func))
4 (type (;2;) (func (param i32) (result i32)))
5 (import "a" "ef0" (func (;0;) (type 0)))
6 (import "a" "ef1" (func (;1;) (type 0)))
7 (import "a" "ef2" (func (;2;) (type 0)))
8 (import "a" "ef3" (func (;3;) (type 0)))
9 (import "a" "ef4" (func (;4;) (type 0)))
10 (table $t0 (;0;) 30 30 funcref)
11 (table $t1 (;1;) 30 30 funcref)
12 (export "test" (func 10))
13 (export "check" (func 11))
14 (elem (;0;) (table $t1) (i32.const 2) func 3 1 4 1)
15 (elem (;1;) funcref (ref.func 2) (ref.func 7) (ref.func 1) (ref.func 8))
16 (elem (;2;) (table $t1) (i32.const 12) func 7 5 2 3 6)
17 (elem (;3;) funcref (ref.func 5) (ref.func 9) (ref.func 2) (ref.func 7) (ref.func 6))
18 (func (;5;) (type 0) (result i32)
19 i32.const 5
20 )
21 (func (;6;) (type 0) (result i32)
22 i32.const 6
23 )
24 (func (;7;) (type 0) (result i32)
25 i32.const 7
26 )
27 (func (;8;) (type 0) (result i32)
28 i32.const 8
29 )
30 (func (;9;) (type 0) (result i32)
31 i32.const 9
32 )
33 (func (;10;) (type 1)
34 i32.const 7
35 i32.const 0
36 i32.const 4
37 table.init $t1 1
38 )
39 (func (;11;) (type 2) (param i32) (result i32)
40 local.get 0
41 call_indirect $t1 (type 0)
42 )
43 )