mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-23 03:31:44 +00:00
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:
@ -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
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user