assemblyscript/tests/compiler/inlining-recursive.optimized.wat
2018-10-11 08:49:08 +02:00

24 lines
664 B
Plaintext

(module
(type $v (func))
(memory $0 0)
(table 1 anyfunc)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "table" (table $0))
(export "foo" (func $inlining-recursive/foo))
(export "bar" (func $inlining-recursive/bar))
(export "baz" (func $inlining-recursive/baz))
(func $inlining-recursive/foo (; 0 ;) (; has Stack IR ;) (type $v)
(call $inlining-recursive/foo)
)
(func $inlining-recursive/baz (; 1 ;) (; has Stack IR ;) (type $v)
(call $inlining-recursive/bar)
)
(func $inlining-recursive/bar (; 2 ;) (; has Stack IR ;) (type $v)
(call $inlining-recursive/baz)
)
(func $null (; 3 ;) (; has Stack IR ;) (type $v)
(nop)
)
)