Debian Codegraph @

tests/snapshots/cli/stack-switching/actor-lwt.wast/14.print

raw
1 (module $actor-scheduler
2 (type $func (;0;) (func))
3 (type $cont (;1;) (cont $func))
4 (type $cont-func (;2;) (func (param (ref $cont))))
5 (type $cont-cont (;3;) (cont $cont-func))
6 (import "actor-as-lwt" "act" (func $act (;0;) (type $cont-func)))
7 (import "scheduler" "run" (func $scheduler (;1;) (type $cont-func)))
8 (export "run-actor" (func $run-actor))
9 (elem (;0;) declare func $act $scheduler)
10 (func $run-actor (;2;) (type $cont-func) (param $k (ref $cont))
11 local.get $k
12 ref.func $act
13 cont.new $cont-cont
14 cont.bind $cont-cont $cont
15 call $scheduler
16 )
17 )