tests/snapshots/cli/folding/fold-call-import-gen-names.wast/0.print-folded
raw| 1 | (module |
| 2 | (type (;0;) (func (param i32) (result i32))) |
| 3 | (type (;1;) (func (param i64) (result i32))) |
| 4 | (type (;2;) (func (result i32))) |
| 5 | (import "a" "b" (func (;0;) (type 0))) |
| 6 | (export "c" (func 1)) |
| 7 | (func (;1;) (type 1) (param i64) (result i32) |
| 8 | (i32.wrap_i64 |
| 9 | (local.get 0)) |
| 10 | ) |
| 11 | (func (;2;) (type 2) (result i32) |
| 12 | (i32.add |
| 13 | (call 0 |
| 14 | (i32.const 1)) |
| 15 | (call 0 |
| 16 | (i32.const 2))) |
| 17 | (drop |
| 18 | (call 1 |
| 19 | (i64.const 3))) |
| 20 | ) |
| 21 | ) |