Debian Codegraph @

tests/snapshots/cli/folding/fold-global-getset.wast/0.print

raw
1 (module
2 (type (;0;) (func (result i32)))
3 (type (;1;) (func))
4 (global (;0;) (mut i32) i32.const 1)
5 (global (;1;) (mut f32) f32.const 0x1.8p+0 (;=1.5;))
6 (func $fold-global-get (;0;) (type 0) (result i32)
7 global.get 1
8 drop
9 global.get 0
10 global.get 0
11 i32.mul
12 )
13 (func $fold-global-set (;1;) (type 1)
14 global.get 0
15 i32.const 1
16 i32.add
17 global.set 0
18 f32.const 0x1p+1 (;=2;)
19 global.set 1
20 )
21 )