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:
dcodeIO
2018-11-09 12:28:10 +01:00
parent d93ca84aed
commit 4f95dce6e2
72 changed files with 6244 additions and 6197 deletions

View File

@ -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
)
)