Debian Codegraph @

tests/snapshots/cli/folding/fold-load-store.wast/0.print-folded

raw
1 (module
2 (type (;0;) (func))
3 (type (;1;) (func (result i32)))
4 (memory (;0;) 1)
5 (func $fold-load (;0;) (type 0)
6 (drop
7 (i32.load
8 (i32.const 1)))
9 (drop
10 (i32.load
11 (i32.const 2)))
12 )
13 (func $fold-store (;1;) (type 0)
14 (f32.store
15 (i32.load
16 (i32.const 1))
17 (f32.const 0x1p+1 (;=2;)))
18 )
19 (func $fold-memory-size (;2;) (type 1) (result i32)
20 (drop
21 (i32.add
22 (memory.size)
23 (i32.const 1)))
24 (i32.const 2)
25 )
26 (func $fold-memory-grow (;3;) (type 1) (result i32)
27 (i32.lt_s
28 (i32.const 1)
29 (memory.grow
30 (i32.const 2)))
31 )
32 )