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,7 +1,6 @@
(module
(type $iiiiv (func (param i32 i32 i32 i32)))
(type $v (func))
(type $FUNCSIG$i (func (result i32)))
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
(memory $0 1)
(data (i32.const 8) "\0d\00\00\00i\00n\00s\00t\00a\00n\00c\00e\00o\00f\00.\00t\00s")
@ -11,41 +10,7 @@
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $instanceof/isI32<i32> (; 1 ;) (type $FUNCSIG$i) (result i32)
i32.const 1
)
(func $instanceof/isI32<f64> (; 2 ;) (type $FUNCSIG$i) (result i32)
i32.const 0
)
(func $start (; 3 ;) (type $v)
call $instanceof/isI32<i32>
i32.eqz
if
i32.const 0
i32.const 8
i32.const 38
i32.const 0
call $~lib/env/abort
unreachable
end
call $instanceof/isI32<f64>
if
i32.const 0
i32.const 8
i32.const 39
i32.const 0
call $~lib/env/abort
unreachable
end
call $instanceof/isI32<f64>
if
i32.const 0
i32.const 8
i32.const 40
i32.const 0
call $~lib/env/abort
unreachable
end
(func $start (; 1 ;) (type $v)
get_global $instanceof/an
if
i32.const 0
@ -68,7 +33,7 @@
unreachable
end
)
(func $null (; 4 ;) (type $v)
(func $null (; 2 ;) (type $v)
nop
)
)