Debian Codegraph @

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

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