| 1 |
(module |
| 2 |
(type (;0;) (func)) |
| 3 |
(type (;1;) (func (result i32))) |
| 4 |
(memory (;0;) 1) |
| 5 |
(func $fold-load (;0;) (type 0) |
| 6 |
i32.const 1 |
| 7 |
i32.load |
| 8 |
drop |
| 9 |
i32.const 2 |
| 10 |
i32.load |
| 11 |
drop |
| 12 |
) |
| 13 |
(func $fold-store (;1;) (type 0) |
| 14 |
i32.const 1 |
| 15 |
i32.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 |
i32.const 1 |
| 22 |
i32.add |
| 23 |
drop |
| 24 |
i32.const 2 |
| 25 |
) |
| 26 |
(func $fold-memory-grow (;3;) (type 1) (result i32) |
| 27 |
i32.const 1 |
| 28 |
i32.const 2 |
| 29 |
memory.grow |
| 30 |
i32.lt_s |
| 31 |
) |
| 32 |
) |