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

@ -6,7 +6,6 @@
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$v (func))
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
(memory $0 1)
(data (i32.const 8) "\16\00\00\00s\00t\00d\00/\00a\00l\00l\00o\00c\00a\00t\00o\00r\00_\00a\00r\00e\00n\00a\00.\00t\00s")
@ -1424,14 +1423,7 @@
end
tee_local $0
)
(func $~lib/allocator/arena/__memory_free (; 6 ;) (type $FUNCSIG$v)
nop
)
(func $~lib/allocator/arena/__memory_reset (; 7 ;) (type $v)
get_global $~lib/allocator/arena/startOffset
set_global $~lib/allocator/arena/offset
)
(func $start (; 8 ;) (type $v)
(func $start (; 6 ;) (type $v)
i32.const 56
set_global $~lib/allocator/arena/startOffset
get_global $~lib/allocator/arena/startOffset
@ -1533,9 +1525,8 @@
call $~lib/env/abort
unreachable
end
call $~lib/allocator/arena/__memory_free
call $~lib/allocator/arena/__memory_free
call $~lib/allocator/arena/__memory_reset
get_global $~lib/allocator/arena/startOffset
set_global $~lib/allocator/arena/offset
call $~lib/allocator/arena/__memory_allocate
set_global $std/allocator_arena/ptr1
get_global $std/allocator_arena/ptr1
@ -1550,7 +1541,7 @@
unreachable
end
)
(func $null (; 9 ;) (type $v)
(func $null (; 7 ;) (type $v)
nop
)
)