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

@ -2,7 +2,6 @@
(type $iv (func (param i32)))
(type $iiiiv (func (param i32 i32 i32 i32)))
(type $v (func))
(type $FUNCSIG$v (func))
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
(memory $0 1)
(data (i32.const 8) "\15\00\00\00s\00t\00d\00/\00g\00c\00-\00i\00n\00t\00e\00g\00r\00a\00t\00i\00o\00n\00.\00t\00s")
@ -35,7 +34,18 @@
end
)
(func $start (; 2 ;) (type $v)
call $~iterateRoots
i32.const 8
i32.const 1
call_indirect (type $iv)
get_global $std/gc-integration/B.d
i32.const 1
call_indirect (type $iv)
get_global $std/gc-integration/a_ref
i32.const 1
call_indirect (type $iv)
get_global $std/gc-integration/b_ref
i32.const 1
call_indirect (type $iv)
get_global $std/gc-integration/i
i32.const 4
i32.ne
@ -51,18 +61,4 @@
(func $null (; 3 ;) (type $v)
nop
)
(func $~iterateRoots (; 4 ;) (type $FUNCSIG$v)
i32.const 8
i32.const 1
call_indirect (type $iv)
get_global $std/gc-integration/B.d
i32.const 1
call_indirect (type $iv)
get_global $std/gc-integration/a_ref
i32.const 1
call_indirect (type $iv)
get_global $std/gc-integration/b_ref
i32.const 1
call_indirect (type $iv)
)
)