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

@ -1,16 +1,12 @@
(module
(type $v (func))
(type $FUNCSIG$v (func))
(memory $0 0)
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $scoped/fn (; 0 ;) (type $FUNCSIG$v)
nop
)
(func $start (; 1 ;) (type $v)
(func $start (; 0 ;) (type $v)
(local $0 i32)
block $break|0
loop $repeat|0
@ -44,9 +40,8 @@
end
unreachable
end
call $scoped/fn
)
(func $null (; 2 ;) (type $v)
(func $null (; 1 ;) (type $v)
nop
)
)