mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
This basically flips the --noDebug flag to become a --debug flag, so some optimizations, like inlining, aren't skipped by default, which might be unexpected.
21 lines
500 B
Plaintext
21 lines
500 B
Plaintext
(module
|
|
(type $v (func))
|
|
(memory $0 0)
|
|
(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/baz))
|
|
(export "baz" (func $inlining-recursive/baz))
|
|
(func $inlining-recursive/foo (; 0 ;) (type $v)
|
|
call $inlining-recursive/foo
|
|
)
|
|
(func $inlining-recursive/baz (; 1 ;) (type $v)
|
|
call $inlining-recursive/baz
|
|
)
|
|
(func $null (; 2 ;) (type $v)
|
|
nop
|
|
)
|
|
)
|