| 1 |
(module |
| 2 |
(type (;0;) (func (result f32))) |
| 3 |
(type (;1;) (func)) |
| 4 |
(type (;2;) (func (result i32))) |
| 5 |
(func $fold-local-get (;0;) (type 0) (result f32) |
| 6 |
(local f32 f32 f64 f64) |
| 7 |
local.get 0 |
| 8 |
local.get 1 |
| 9 |
f32.add |
| 10 |
local.get 2 |
| 11 |
local.get 3 |
| 12 |
f64.add |
| 13 |
f32.demote_f64 |
| 14 |
f32.add |
| 15 |
) |
| 16 |
(func $fold-local-set (;1;) (type 1) |
| 17 |
(local i64 i32) |
| 18 |
i64.const 1 |
| 19 |
i64.const 2 |
| 20 |
i64.const 3 |
| 21 |
i64.xor |
| 22 |
i64.xor |
| 23 |
local.set 0 |
| 24 |
i32.const 4 |
| 25 |
local.set 1 |
| 26 |
) |
| 27 |
(func $fold-local-tee (;2;) (type 2) (result i32) |
| 28 |
(local i32 i32) |
| 29 |
i32.const 1 |
| 30 |
local.tee 0 |
| 31 |
i32.const 2 |
| 32 |
local.tee 1 |
| 33 |
i32.add |
| 34 |
) |
| 35 |
) |