Debian Codegraph @

tests/snapshots/cli/stack-switching/actor.wast/10.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 null $cont))))
7 (import "spectest" "print_i32" (func $log (;0;) (type $i-func)))
8 (import "scheduler" "run" (func $act (;1;) (type 4)))
9 (import "chain" "chain" (func $chain (;2;) (type $i-func)))
10 (export "run-chain" (func $run-chain))
11 (elem (;0;) declare func $chain)
12 (func $run-chain (;3;) (type $i-func) (param $n i32)
13 local.get $n
14 ref.func $chain
15 cont.new $i-cont
16 cont.bind $i-cont $cont
17 call $act
18 )
19 )