mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 11:11:43 +00:00
Use stack IR when emitting text format (#312)
This commit is contained in:
@ -1,23 +1,23 @@
|
||||
(module
|
||||
(type $v (func))
|
||||
(memory $0 0)
|
||||
(table 1 anyfunc)
|
||||
(table $0 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/foo (; 0 ;) (type $v)
|
||||
call $inlining-recursive/foo
|
||||
)
|
||||
(func $inlining-recursive/baz (; 1 ;) (; has Stack IR ;) (type $v)
|
||||
(call $inlining-recursive/bar)
|
||||
(func $inlining-recursive/baz (; 1 ;) (type $v)
|
||||
call $inlining-recursive/bar
|
||||
)
|
||||
(func $inlining-recursive/bar (; 2 ;) (; has Stack IR ;) (type $v)
|
||||
(call $inlining-recursive/baz)
|
||||
(func $inlining-recursive/bar (; 2 ;) (type $v)
|
||||
call $inlining-recursive/baz
|
||||
)
|
||||
(func $null (; 3 ;) (; has Stack IR ;) (type $v)
|
||||
(nop)
|
||||
(func $null (; 3 ;) (type $v)
|
||||
nop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user