assemblyscript/tests/compiler/scoped.optimized.wat
2019-02-07 15:26:26 +01:00

42 lines
606 B
Plaintext

(module
(type $_ (func))
(memory $0 0)
(table $0 1 funcref)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start (; 0 ;) (type $_)
(local $0 i32)
loop $repeat|0
local.get $0
i32.const 1
i32.lt_s
if
local.get $0
i32.const 1
i32.add
local.set $0
br $repeat|0
end
end
i32.const 0
local.set $0
loop $repeat|1
local.get $0
i32.const 1
i32.lt_s
if
local.get $0
i32.const 1
i32.add
local.set $0
br $repeat|1
end
end
)
(func $null (; 1 ;) (type $_)
nop
)
)