Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/table_copy.wast/808.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_t0" (func 11))
14 (export "check_t1" (func 12))
15 (elem (;0;) (table $t1) (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 $t1) (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 (elem (;4;) (table $t0) (i32.const 3) func 1 3 1 4)
20 (elem (;5;) (table $t0) (i32.const 11) func 6 3 2 5 7)
21 (func (;5;) (type 0) (result i32)
22 i32.const 5
23 )
24 (func (;6;) (type 0) (result i32)
25 i32.const 6
26 )
27 (func (;7;) (type 0) (result i32)
28 i32.const 7
29 )
30 (func (;8;) (type 0) (result i32)
31 i32.const 8
32 )
33 (func (;9;) (type 0) (result i32)
34 i32.const 9
35 )
36 (func (;10;) (type 1)
37 i32.const 20
38 i32.const 22
39 i32.const 4
40 table.copy $t1 $t1
41 )
42 (func (;11;) (type 2) (param i32) (result i32)
43 local.get 0
44 call_indirect $t1 (type 0)
45 )
46 (func (;12;) (type 2) (param i32) (result i32)
47 local.get 0
48 call_indirect (type 0)
49 )
50 )