Debian Codegraph @

tests/snapshots/cli/shared-everything-threads/ref-equivalence.wast/0.print

raw
1 (module
2 (type $st (;0;) (sub (shared (struct))))
3 (type $st' (;1;) (sub (shared (struct (field i32)))))
4 (type $at (;2;) (shared (array i8)))
5 (type $st-sub1 (;3;) (sub $st (shared (struct))))
6 (type $st-sub2 (;4;) (sub $st (shared (struct))))
7 (type $st'-sub1 (;5;) (sub $st' (shared (struct (field i32)))))
8 (type $st'-sub2 (;6;) (sub $st' (shared (struct (field i32)))))
9 (type (;7;) (func))
10 (type (;8;) (func (param i32 i32) (result i32)))
11 (table (;0;) 20 (ref null (shared eq)))
12 (export "init" (func 0))
13 (export "eq" (func 1))
14 (func (;0;) (type 7)
15 i32.const 0
16 ref.null (shared eq)
17 table.set 0
18 i32.const 1
19 ref.null (shared i31)
20 table.set 0
21 i32.const 2
22 i32.const 7
23 ref.i31_shared
24 table.set 0
25 i32.const 3
26 i32.const 7
27 ref.i31_shared
28 table.set 0
29 i32.const 4
30 i32.const 8
31 ref.i31_shared
32 table.set 0
33 i32.const 5
34 struct.new_default $st
35 table.set 0
36 i32.const 6
37 struct.new_default $st
38 table.set 0
39 i32.const 7
40 i32.const 0
41 array.new_default $at
42 table.set 0
43 i32.const 8
44 i32.const 0
45 array.new_default $at
46 table.set 0
47 )
48 (func (;1;) (type 8) (param $i i32) (param $j i32) (result i32)
49 local.get $i
50 table.get 0
51 local.get $j
52 table.get 0
53 ref.eq
54 )
55 )