mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 12:11:50 +00:00
Do not emit debug info by default
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.
This commit is contained in:
@ -20,7 +20,6 @@
|
||||
(export "renamed_add" (func $export/add))
|
||||
(export "rerenamed_sub" (func $export/mul))
|
||||
(export "renamed_ns.two" (func $export/ns.two))
|
||||
(start $start)
|
||||
(func $export/add (; 0 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
get_local $0
|
||||
get_local $1
|
||||
@ -39,14 +38,4 @@
|
||||
(func $export/ns.two (; 3 ;) (type $v)
|
||||
nop
|
||||
)
|
||||
(func $start (; 4 ;) (type $v)
|
||||
i32.const 1
|
||||
i32.const 2
|
||||
call $export/add
|
||||
drop
|
||||
i32.const 3
|
||||
i32.const 4
|
||||
call $export/mul
|
||||
drop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user