assemblyscript/tests/compiler/scoped.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

48 lines
738 B
Plaintext

(module
(type $v (func))
(memory $0 0)
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start (; 0 ;) (type $v)
(local $0 i32)
block $break|0
loop $repeat|0
get_local $0
i32.const 1
i32.ge_s
br_if $break|0
get_local $0
i32.const 1
i32.add
set_local $0
br $repeat|0
unreachable
end
unreachable
end
block $break|1
i32.const 0
set_local $0
loop $repeat|1
get_local $0
i32.const 1
i32.ge_s
br_if $break|1
get_local $0
i32.const 1
i32.add
set_local $0
br $repeat|1
unreachable
end
unreachable
end
)
(func $null (; 1 ;) (type $v)
nop
)
)