Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/table_init.wast/34.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 (table $t2 (;2;) i64 30 30 funcref)
13 (export "test" (func 10))
14 (export "check" (func 11))
15 (elem (;0;) (table $t0) (i32.const 2) func 3 1 4 1)
16 (elem (;1;) funcref (ref.func 2) (ref.func 7) (ref.func 1) (ref.func 8))
17 (elem (;2;) (table $t0) (i32.const 12) func 7 5 2 3 6)
18 (elem (;3;) funcref (ref.func 5) (ref.func 9) (ref.func 2) (ref.func 7) (ref.func 6))
19 (func (;5;) (type 0) (result i32)
20 i32.const 5
21 )
22 (func (;6;) (type 0) (result i32)
23 i32.const 6
24 )
25 (func (;7;) (type 0) (result i32)
26 i32.const 7
27 )
28 (func (;8;) (type 0) (result i32)
29 i32.const 8
30 )
31 (func (;9;) (type 0) (result i32)
32 i32.const 9
33 )
34 (func (;10;) (type 1)
35 i32.const 15
36 i32.const 1
37 i32.const 3
38 table.init 3
39 )
40 (func (;11;) (type 2) (param i32) (result i32)
41 local.get 0
42 call_indirect (type 0)
43 )
44 )