Debian Codegraph @

tests/snapshots/cli/stack-switching/lwt.wast/8.print

raw
1 (module
2 (type $func (;0;) (func))
3 (type $cont (;1;) (cont $func))
4 (type (;2;) (func (param (ref null $cont))))
5 (type (;3;) (func (param i32)))
6 (import "scheduler" "sync" (func $scheduler-sync (;0;) (type 2)))
7 (import "scheduler" "kt" (func $scheduler-kt (;1;) (type 2)))
8 (import "scheduler" "tk" (func $schedule-tk (;2;) (type 2)))
9 (import "scheduler" "ykt" (func $scheduler-ykt (;3;) (type 2)))
10 (import "scheduler" "ytk" (func $scheduler-ytk (;4;) (type 2)))
11 (import "spectest" "print_i32" (func $log (;5;) (type 3)))
12 (import "example" "main" (func $main (;6;) (type $func)))
13 (export "run" (func 7))
14 (elem (;0;) declare func $main)
15 (func (;7;) (type $func)
16 i32.const -1
17 call $log
18 ref.func $main
19 cont.new $cont
20 call $scheduler-sync
21 i32.const -2
22 call $log
23 ref.func $main
24 cont.new $cont
25 call $scheduler-kt
26 i32.const -3
27 call $log
28 ref.func $main
29 cont.new $cont
30 call $schedule-tk
31 i32.const -4
32 call $log
33 ref.func $main
34 cont.new $cont
35 call $scheduler-ykt
36 i32.const -5
37 call $log
38 ref.func $main
39 cont.new $cont
40 call $scheduler-ytk
41 i32.const -6
42 call $log
43 )
44 )