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

@ -5,7 +5,7 @@
(start $start)
(func $start:scoped (; 0 ;) (type $FUNCSIG$v)
(local $0 i32)
loop $repeat|0
loop $loop|0
local.get $0
i32.const 1
i32.lt_s
@ -14,12 +14,12 @@
i32.const 1
i32.add
local.set $0
br $repeat|0
br $loop|0
end
end
i32.const 0
local.set $0
loop $repeat|1
loop $loop|1
local.get $0
i32.const 1
i32.lt_s
@ -28,7 +28,7 @@
i32.const 1
i32.add
local.set $0
br $repeat|1
br $loop|1
end
end
)