| 1 |
(module $actor |
| 2 |
(type $func (;0;) (func)) |
| 3 |
(type $cont (;1;) (cont $func)) |
| 4 |
(type (;2;) (func (result i32))) |
| 5 |
(type (;3;) (func (param (ref $cont)) (result i32))) |
| 6 |
(type (;4;) (func (param i32 i32))) |
| 7 |
(tag $self (;0;) (type 2) (result i32)) |
| 8 |
(tag $spawn (;1;) (type 3) (param (ref $cont)) (result i32)) |
| 9 |
(tag $send (;2;) (type 4) (param i32 i32)) |
| 10 |
(tag $recv (;3;) (type 2) (result i32)) |
| 11 |
(export "self" (tag 0)) |
| 12 |
(export "spawn" (tag 1)) |
| 13 |
(export "send" (tag 2)) |
| 14 |
(export "recv" (tag 3)) |
| 15 |
) |