mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-30 07:02:24 +00:00
bleeding edge binaryen
This commit is contained in:
@ -640,14 +640,14 @@
|
||||
(local $0 i32)
|
||||
(local $1 i32)
|
||||
i32.const 1
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $0
|
||||
i32.gt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
local.get $0
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -712,7 +712,7 @@
|
||||
end
|
||||
i32.const 304
|
||||
i32.const 1888
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -876,7 +876,7 @@
|
||||
)
|
||||
(func $~lib/rt/tlsf/growMemory (; 11 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(local $2 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -890,12 +890,12 @@
|
||||
local.get $1
|
||||
i32.gt_s
|
||||
select
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $1
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -906,7 +906,7 @@
|
||||
local.get $2
|
||||
i32.const 16
|
||||
i32.shl
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
|
@ -904,7 +904,7 @@
|
||||
i32.xor
|
||||
i32.and
|
||||
local.set $0
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $1
|
||||
local.get $0
|
||||
i32.const 1572
|
||||
@ -925,7 +925,7 @@
|
||||
local.get $2
|
||||
local.get $1
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -1030,7 +1030,7 @@
|
||||
i32.const -1
|
||||
i32.xor
|
||||
i32.and
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -1265,7 +1265,7 @@
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -1287,19 +1287,19 @@
|
||||
select
|
||||
local.set $6
|
||||
local.get $6
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $3
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $7
|
||||
local.get $0
|
||||
local.get $2
|
||||
|
@ -692,14 +692,14 @@
|
||||
(local $0 i32)
|
||||
(local $1 i32)
|
||||
i32.const 1
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $0
|
||||
i32.gt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
local.get $0
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -764,7 +764,7 @@
|
||||
end
|
||||
i32.const 320
|
||||
i32.const 1904
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -928,7 +928,7 @@
|
||||
)
|
||||
(func $~lib/rt/tlsf/growMemory (; 14 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(local $2 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -942,12 +942,12 @@
|
||||
local.get $1
|
||||
i32.gt_s
|
||||
select
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $1
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -958,7 +958,7 @@
|
||||
local.get $2
|
||||
i32.const 16
|
||||
i32.shl
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
|
@ -898,7 +898,7 @@
|
||||
i32.xor
|
||||
i32.and
|
||||
local.set $0
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $1
|
||||
local.get $0
|
||||
i32.const 1572
|
||||
@ -919,7 +919,7 @@
|
||||
local.get $2
|
||||
local.get $1
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -1024,7 +1024,7 @@
|
||||
i32.const -1
|
||||
i32.xor
|
||||
i32.and
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -1259,7 +1259,7 @@
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -1281,19 +1281,19 @@
|
||||
select
|
||||
local.set $6
|
||||
local.get $6
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $3
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $7
|
||||
local.get $0
|
||||
local.get $2
|
||||
|
@ -594,14 +594,14 @@
|
||||
(local $0 i32)
|
||||
(local $1 i32)
|
||||
i32.const 1
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $0
|
||||
i32.gt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
local.get $0
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -666,7 +666,7 @@
|
||||
end
|
||||
i32.const 304
|
||||
i32.const 1888
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -830,7 +830,7 @@
|
||||
)
|
||||
(func $~lib/rt/tlsf/growMemory (; 10 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(local $2 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -844,12 +844,12 @@
|
||||
local.get $1
|
||||
i32.gt_s
|
||||
select
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $1
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -860,7 +860,7 @@
|
||||
local.get $2
|
||||
i32.const 16
|
||||
i32.shl
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
|
@ -783,7 +783,7 @@
|
||||
i32.xor
|
||||
i32.and
|
||||
local.set $0
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $1
|
||||
local.get $0
|
||||
i32.const 1572
|
||||
@ -804,7 +804,7 @@
|
||||
local.get $2
|
||||
local.get $1
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -909,7 +909,7 @@
|
||||
i32.const -1
|
||||
i32.xor
|
||||
i32.and
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -1144,7 +1144,7 @@
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -1166,19 +1166,19 @@
|
||||
select
|
||||
local.set $6
|
||||
local.get $6
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $3
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $7
|
||||
local.get $0
|
||||
local.get $2
|
||||
|
@ -594,14 +594,14 @@
|
||||
(local $0 i32)
|
||||
(local $1 i32)
|
||||
i32.const 1
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $0
|
||||
i32.gt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
local.get $0
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -666,7 +666,7 @@
|
||||
end
|
||||
i32.const 304
|
||||
i32.const 1888
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -830,7 +830,7 @@
|
||||
)
|
||||
(func $~lib/rt/tlsf/growMemory (; 10 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(local $2 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -844,12 +844,12 @@
|
||||
local.get $1
|
||||
i32.gt_s
|
||||
select
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $1
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -860,7 +860,7 @@
|
||||
local.get $2
|
||||
i32.const 16
|
||||
i32.shl
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
|
@ -783,7 +783,7 @@
|
||||
i32.xor
|
||||
i32.and
|
||||
local.set $0
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $1
|
||||
local.get $0
|
||||
i32.const 1572
|
||||
@ -804,7 +804,7 @@
|
||||
local.get $2
|
||||
local.get $1
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -909,7 +909,7 @@
|
||||
i32.const -1
|
||||
i32.xor
|
||||
i32.and
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -1144,7 +1144,7 @@
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -1166,19 +1166,19 @@
|
||||
select
|
||||
local.set $6
|
||||
local.get $6
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $3
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $7
|
||||
local.get $0
|
||||
local.get $2
|
||||
|
@ -598,14 +598,14 @@
|
||||
(local $0 i32)
|
||||
(local $1 i32)
|
||||
i32.const 1
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $0
|
||||
i32.gt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
local.get $0
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -670,7 +670,7 @@
|
||||
end
|
||||
i32.const 304
|
||||
i32.const 1888
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -834,7 +834,7 @@
|
||||
)
|
||||
(func $~lib/rt/tlsf/growMemory (; 7 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(local $2 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -848,12 +848,12 @@
|
||||
local.get $1
|
||||
i32.gt_s
|
||||
select
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $1
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -864,7 +864,7 @@
|
||||
local.get $2
|
||||
i32.const 16
|
||||
i32.shl
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
|
@ -787,7 +787,7 @@
|
||||
i32.xor
|
||||
i32.and
|
||||
local.set $0
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $1
|
||||
local.get $0
|
||||
i32.const 1572
|
||||
@ -808,7 +808,7 @@
|
||||
local.get $2
|
||||
local.get $1
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -913,7 +913,7 @@
|
||||
i32.const -1
|
||||
i32.xor
|
||||
i32.and
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -1148,7 +1148,7 @@
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -1170,19 +1170,19 @@
|
||||
select
|
||||
local.set $6
|
||||
local.get $6
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $3
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $7
|
||||
local.get $0
|
||||
local.get $2
|
||||
|
@ -596,14 +596,14 @@
|
||||
(local $0 i32)
|
||||
(local $1 i32)
|
||||
i32.const 1
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $0
|
||||
i32.gt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
local.get $0
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -668,7 +668,7 @@
|
||||
end
|
||||
i32.const 304
|
||||
i32.const 1888
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -832,7 +832,7 @@
|
||||
)
|
||||
(func $~lib/rt/tlsf/growMemory (; 10 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
(local $2 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -846,12 +846,12 @@
|
||||
local.get $1
|
||||
i32.gt_s
|
||||
select
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $1
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -862,7 +862,7 @@
|
||||
local.get $2
|
||||
i32.const 16
|
||||
i32.shl
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
|
@ -785,7 +785,7 @@
|
||||
i32.xor
|
||||
i32.and
|
||||
local.set $0
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $1
|
||||
local.get $0
|
||||
i32.const 1572
|
||||
@ -806,7 +806,7 @@
|
||||
local.get $2
|
||||
local.get $1
|
||||
i32.sub
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
else
|
||||
@ -911,7 +911,7 @@
|
||||
i32.const -1
|
||||
i32.xor
|
||||
i32.and
|
||||
current_memory
|
||||
memory.size
|
||||
i32.const 16
|
||||
i32.shl
|
||||
call $~lib/rt/tlsf/addMemory
|
||||
@ -1146,7 +1146,7 @@
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $2
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
@ -1168,19 +1168,19 @@
|
||||
select
|
||||
local.set $6
|
||||
local.get $6
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $3
|
||||
grow_memory
|
||||
memory.grow
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
unreachable
|
||||
end
|
||||
end
|
||||
current_memory
|
||||
memory.size
|
||||
local.set $7
|
||||
local.get $0
|
||||
local.get $2
|
||||
|
Reference in New Issue
Block a user