Debian Codegraph @

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

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