| 1 |
(module $async-await |
| 2 |
(type $i-func (;0;) (func (param i32))) |
| 3 |
(type $i-cont (;1;) (cont $i-func)) |
| 4 |
(type (;2;) (func)) |
| 5 |
(type (;3;) (func (param i32 i32))) |
| 6 |
(type (;4;) (func (param (ref $i-cont)) (result i32))) |
| 7 |
(type (;5;) (func (param i32) (result i32))) |
| 8 |
(tag $yield (;0;) (type 2)) |
| 9 |
(tag $fulfill (;1;) (type 3) (param i32 i32)) |
| 10 |
(tag $async (;2;) (type 4) (param (ref $i-cont)) (result i32)) |
| 11 |
(tag $await (;3;) (type 5) (param i32) (result i32)) |
| 12 |
(export "yield" (tag 0)) |
| 13 |
(export "fulfill" (tag 1)) |
| 14 |
(export "async" (tag 2)) |
| 15 |
(export "await" (tag 3)) |
| 16 |
) |