Debian Codegraph @

tests/snapshots/cli/shared-everything-threads/structs.wast/8.print

raw
1 (module
2 (type $i8 (;0;) (shared (struct (field (mut i8)))))
3 (type $i32 (;1;) (shared (struct (field (mut i32)))))
4 (type $unshared (;2;) (struct (field (mut i8))))
5 (type (;3;) (func))
6 (type (;4;) (func (param (ref null $i8))))
7 (type (;5;) (func (param (ref null $i32))))
8 (func (;0;) (type 3)
9 i32.const 0
10 struct.new $i8
11 drop
12 )
13 (func (;1;) (type 3)
14 struct.new_default $i8
15 drop
16 )
17 (func (;2;) (type 4) (param (ref null $i8))
18 local.get 0
19 struct.get_s $i8 0
20 drop
21 )
22 (func (;3;) (type 4) (param (ref null $i8))
23 local.get 0
24 struct.get_u $i8 0
25 drop
26 )
27 (func (;4;) (type 5) (param (ref null $i32))
28 local.get 0
29 struct.get $i32 0
30 drop
31 )
32 (func (;5;) (type 4) (param (ref null $i8))
33 local.get 0
34 i32.const 0
35 struct.set $i8 0
36 )
37 )