Debian Codegraph @

tests/snapshots/cli/folding/struct.wast/5.print

raw
1 (module
2 (type (;0;) (struct (field $x i32)))
3 (type $t1 (;1;) (struct (field i32) (field $x f32)))
4 (type $t2 (;2;) (struct (field i32) (field i32) (field $x i64)))
5 (type (;3;) (func (param (ref 0)) (result i32)))
6 (type (;4;) (func (param (ref $t1)) (result f32)))
7 (type (;5;) (func (param (ref $t2)) (result i64)))
8 (func (;0;) (type 3) (param (ref 0)) (result i32)
9 local.get 0
10 struct.get 0 $x
11 )
12 (func (;1;) (type 4) (param (ref $t1)) (result f32)
13 local.get 0
14 struct.get $t1 $x
15 )
16 (func (;2;) (type 5) (param (ref $t2)) (result i64)
17 local.get 0
18 struct.get $t2 $x
19 )
20 )