2018-04-19 17:32:23 +02:00
|
|
|
(module
|
2019-02-21 00:11:22 +01:00
|
|
|
(type $ii_ (func (param i32 i32)))
|
2018-04-19 23:16:03 +02:00
|
|
|
(type $F (func (result f64)))
|
2019-02-21 00:11:22 +01:00
|
|
|
(type $_ (func))
|
|
|
|
(type $iiF_ (func (param i32 i32 f64)))
|
2018-10-11 08:49:08 +02:00
|
|
|
(import "env" "memory" (memory $0 0))
|
2018-06-28 01:44:32 +02:00
|
|
|
(import "config" "BGR_DEAD" (global $assembly/config/BGR_DEAD i32))
|
2019-02-21 00:11:22 +01:00
|
|
|
(import "config" "BGR_ALIVE" (global $assembly/config/BGR_ALIVE i32))
|
2018-06-28 01:44:32 +02:00
|
|
|
(import "config" "BIT_ROT" (global $assembly/config/BIT_ROT i32))
|
2018-10-11 08:49:08 +02:00
|
|
|
(import "Math" "random" (func $~lib/bindings/Math/random (result f64)))
|
2019-02-21 00:11:22 +01:00
|
|
|
(table $0 1 funcref)
|
2018-11-08 08:04:24 +01:00
|
|
|
(elem (i32.const 0) $null)
|
2018-04-19 17:32:23 +02:00
|
|
|
(global $assembly/index/w (mut i32) (i32.const 0))
|
|
|
|
(global $assembly/index/h (mut i32) (i32.const 0))
|
|
|
|
(global $assembly/index/s (mut i32) (i32.const 0))
|
2018-07-19 02:10:04 +02:00
|
|
|
(export "memory" (memory $0))
|
2018-10-11 08:49:08 +02:00
|
|
|
(export "table" (table $0))
|
2018-04-19 17:32:23 +02:00
|
|
|
(export "init" (func $assembly/index/init))
|
|
|
|
(export "step" (func $assembly/index/step))
|
2018-04-22 23:13:02 +02:00
|
|
|
(export "fill" (func $assembly/index/fill))
|
2019-02-21 00:11:22 +01:00
|
|
|
(func $assembly/index/init (; 1 ;) (type $ii_) (param $0 i32) (param $1 i32)
|
2018-04-20 18:56:51 +02:00
|
|
|
(local $2 i32)
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
|
|
|
global.set $assembly/index/w
|
|
|
|
local.get $1
|
|
|
|
global.set $assembly/index/h
|
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
global.set $assembly/index/s
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $0
|
2019-01-09 13:02:47 +01:00
|
|
|
loop $repeat|0
|
|
|
|
block $break|0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
|
|
|
global.get $assembly/index/h
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.ge_s
|
|
|
|
br_if $break|0
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $1
|
2019-01-09 13:02:47 +01:00
|
|
|
loop $repeat|1
|
|
|
|
block $break|1
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
|
|
|
global.get $assembly/index/w
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.ge_s
|
|
|
|
br_if $break|1
|
|
|
|
call $~lib/bindings/Math/random
|
|
|
|
f64.const 0.1
|
|
|
|
f64.gt
|
|
|
|
if (result i32)
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BGR_DEAD
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16777215
|
|
|
|
i32.and
|
|
|
|
else
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BGR_ALIVE
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const -16777216
|
|
|
|
i32.or
|
|
|
|
end
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $2
|
|
|
|
global.get $assembly/index/s
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.store
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $1
|
2018-11-08 08:04:24 +01:00
|
|
|
br $repeat|1
|
|
|
|
end
|
|
|
|
end
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $0
|
2018-11-08 08:04:24 +01:00
|
|
|
br $repeat|0
|
|
|
|
end
|
|
|
|
end
|
2018-04-19 17:32:23 +02:00
|
|
|
)
|
2019-02-21 00:11:22 +01:00
|
|
|
(func $assembly/index/step (; 2 ;) (type $_)
|
2018-04-19 17:32:23 +02:00
|
|
|
(local $0 i32)
|
|
|
|
(local $1 i32)
|
|
|
|
(local $2 i32)
|
|
|
|
(local $3 i32)
|
|
|
|
(local $4 i32)
|
|
|
|
(local $5 i32)
|
|
|
|
(local $6 i32)
|
|
|
|
(local $7 i32)
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/h
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $6
|
|
|
|
global.get $assembly/index/w
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $7
|
2019-01-09 13:02:47 +01:00
|
|
|
loop $repeat|0
|
|
|
|
block $break|0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
|
|
|
global.get $assembly/index/h
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.ge_s
|
|
|
|
br_if $break|0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $6
|
|
|
|
local.get $0
|
2019-01-09 13:02:47 +01:00
|
|
|
select
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $4
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $6
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.eq
|
2019-01-09 13:02:47 +01:00
|
|
|
select
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $5
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $1
|
2019-01-09 13:02:47 +01:00
|
|
|
loop $repeat|1
|
|
|
|
block $break|1
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
|
|
|
global.get $assembly/index/w
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.ge_s
|
|
|
|
br_if $break|1
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $7
|
|
|
|
local.get $1
|
2019-01-09 13:02:47 +01:00
|
|
|
select
|
2019-02-21 00:11:22 +01:00
|
|
|
local.tee $2
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $4
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.mul
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
i32.add
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
|
|
|
local.get $7
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.eq
|
2019-01-09 13:02:47 +01:00
|
|
|
select
|
2019-02-21 00:11:22 +01:00
|
|
|
local.tee $3
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $4
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.mul
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $2
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
|
|
|
i32.load
|
2019-02-21 00:11:22 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 14
|
|
|
|
i32.and
|
|
|
|
i32.const 2
|
|
|
|
i32.eq
|
|
|
|
if
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/s
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 16777215
|
|
|
|
i32.and
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BIT_ROT
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.sub
|
2019-02-21 00:11:22 +01:00
|
|
|
local.tee $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 0
|
|
|
|
i32.gt_s
|
|
|
|
select
|
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
|
|
|
i32.or
|
|
|
|
i32.store
|
|
|
|
else
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/s
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BGR_DEAD
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const -16777216
|
|
|
|
i32.or
|
|
|
|
i32.store
|
|
|
|
end
|
|
|
|
else
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.eq
|
|
|
|
if
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/s
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BGR_ALIVE
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const -16777216
|
|
|
|
i32.or
|
|
|
|
i32.store
|
|
|
|
else
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/s
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 16777215
|
|
|
|
i32.and
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BIT_ROT
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.sub
|
2019-02-21 00:11:22 +01:00
|
|
|
local.tee $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 0
|
|
|
|
i32.gt_s
|
|
|
|
select
|
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
|
|
|
i32.or
|
|
|
|
i32.store
|
|
|
|
end
|
|
|
|
end
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $1
|
2018-11-08 08:04:24 +01:00
|
|
|
br $repeat|1
|
|
|
|
end
|
|
|
|
end
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $0
|
2018-11-08 08:04:24 +01:00
|
|
|
br $repeat|0
|
|
|
|
end
|
|
|
|
end
|
2018-04-19 17:32:23 +02:00
|
|
|
)
|
2019-02-21 00:11:22 +01:00
|
|
|
(func $assembly/index/fill (; 3 ;) (type $iiF_) (param $0 i32) (param $1 i32) (param $2 f64)
|
2018-04-22 23:13:02 +02:00
|
|
|
(local $3 i32)
|
2019-01-09 13:02:47 +01:00
|
|
|
loop $repeat|0
|
|
|
|
block $break|0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
|
|
|
global.get $assembly/index/w
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.ge_s
|
|
|
|
br_if $break|0
|
|
|
|
call $~lib/bindings/Math/random
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
f64.lt
|
|
|
|
if
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/s
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BGR_ALIVE
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const -16777216
|
|
|
|
i32.or
|
|
|
|
i32.store
|
|
|
|
end
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $3
|
2018-11-08 08:04:24 +01:00
|
|
|
br $repeat|0
|
|
|
|
end
|
|
|
|
end
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 0
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $3
|
2019-01-09 13:02:47 +01:00
|
|
|
loop $repeat|1
|
|
|
|
block $break|1
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
|
|
|
global.get $assembly/index/h
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.ge_s
|
|
|
|
br_if $break|1
|
|
|
|
call $~lib/bindings/Math/random
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
f64.lt
|
|
|
|
if
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/index/s
|
|
|
|
global.get $assembly/index/w
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.mul
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 2
|
|
|
|
i32.shl
|
2019-02-21 00:11:22 +01:00
|
|
|
global.get $assembly/config/BGR_ALIVE
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const -16777216
|
|
|
|
i32.or
|
|
|
|
i32.store
|
|
|
|
end
|
2019-02-21 00:11:22 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-21 00:11:22 +01:00
|
|
|
local.set $3
|
2018-11-08 08:04:24 +01:00
|
|
|
br $repeat|1
|
|
|
|
end
|
|
|
|
end
|
2018-04-22 23:13:02 +02:00
|
|
|
)
|
2019-02-21 00:11:22 +01:00
|
|
|
(func $null (; 4 ;) (type $_)
|
2018-11-08 08:04:24 +01:00
|
|
|
nop
|
2018-10-11 08:49:08 +02:00
|
|
|
)
|
2018-04-19 17:32:23 +02:00
|
|
|
)
|