mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-20 18:26:40 +00:00
fix
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
(type $FUNCSIG$v (func))
|
||||
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\10\00\00\00\01\00\00\00\10\00\00\00\10\00\00\00w\00h\00i\00l\00e\00.\00t\00s")
|
||||
(data (i32.const 8) "\10\00\00\00\01\00\00\00\01\00\00\00\10\00\00\00w\00h\00i\00l\00e\00.\00t\00s")
|
||||
(global $while/n (mut i32) (i32.const 10))
|
||||
(global $while/m (mut i32) (i32.const 0))
|
||||
(global $while/o (mut i32) (i32.const 0))
|
||||
@ -139,17 +139,15 @@
|
||||
i32.sub
|
||||
global.set $while/n
|
||||
local.get $0
|
||||
if
|
||||
if (result i32)
|
||||
global.get $while/m
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $0
|
||||
global.set $while/m
|
||||
global.get $while/m
|
||||
else
|
||||
i32.const 0
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
br_if $continue|3
|
||||
end
|
||||
global.get $while/n
|
||||
|
Reference in New Issue
Block a user