assemblyscript/tests/compiler/instanceof.optimized.wat
dcodeIO 4f95dce6e2 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.
2018-11-09 12:28:10 +01:00

40 lines
826 B
Plaintext

(module
(type $iiiiv (func (param i32 i32 i32 i32)))
(type $v (func))
(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")
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(global $instanceof/an (mut i32) (i32.const 0))
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start (; 1 ;) (type $v)
get_global $instanceof/an
if
i32.const 0
i32.const 8
i32.const 43
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 1
set_global $instanceof/an
get_global $instanceof/an
i32.eqz
if
i32.const 0
i32.const 8
i32.const 46
i32.const 0
call $~lib/env/abort
unreachable
end
)
(func $null (; 2 ;) (type $v)
nop
)
)