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

@ -8,7 +8,6 @@
(export "table" (table $0))
(export "fib" (func $recursive/fib))
(func $recursive/fib (; 0 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
get_local $0
i32.const 1
i32.le_s
@ -20,14 +19,10 @@
i32.const 1
i32.sub
call $recursive/fib
set_local $1
get_local $0
i32.const 2
i32.sub
call $recursive/fib
set_local $0
get_local $1
get_local $0
i32.add
)
(func $null (; 1 ;) (type $v)