mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 01:11:32 +00:00
Also handle indirect recursive inlining
This commit is contained in:
@ -2,8 +2,16 @@
|
||||
(type $v (func))
|
||||
(memory $0 0)
|
||||
(export "foo" (func $inlining-recursive/foo))
|
||||
(export "baz" (func $inlining-recursive/baz))
|
||||
(export "bar" (func $inlining-recursive/bar))
|
||||
(export "memory" (memory $0))
|
||||
(func $inlining-recursive/foo (; 0 ;) (type $v)
|
||||
(call $inlining-recursive/foo)
|
||||
)
|
||||
(func $inlining-recursive/baz (; 1 ;) (type $v)
|
||||
(call $inlining-recursive/bar)
|
||||
)
|
||||
(func $inlining-recursive/bar (; 2 ;) (type $v)
|
||||
(call $inlining-recursive/baz)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user