Rework loop compilation / flows (#644)

This commit is contained in:
Daniel Wirtz
2019-06-11 12:52:16 +02:00
committed by GitHub
parent 420812f5b2
commit 40dac8269d
125 changed files with 52818 additions and 61256 deletions

View File

@ -719,7 +719,7 @@
i32.store
i32.const 0
local.set $0
loop $repeat|0
loop $loop|0
block $break|0
local.get $0
i32.const 23
@ -734,7 +734,7 @@
i32.store offset=4
i32.const 0
local.set $1
loop $repeat|1
loop $loop|1
block $break|1
local.get $1
i32.const 16
@ -755,14 +755,14 @@
i32.const 1
i32.add
local.set $1
br $repeat|1
br $loop|1
end
end
local.get $0
i32.const 1
i32.add
local.set $0
br $repeat|0
br $loop|0
end
end
i32.const 304
@ -1175,7 +1175,8 @@
loop $continue|1
local.get $3
i32.const 8
i32.ge_u
i32.lt_u
i32.eqz
if
local.get $0
local.get $1
@ -1257,7 +1258,8 @@
loop $continue|4
local.get $3
i32.const 8
i32.ge_u
i32.lt_u
i32.eqz
if
local.get $0
local.get $3