mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 18:01:31 +00:00
Update Binaryen to latest
This commit is contained in:
@ -217,24 +217,24 @@
|
||||
if
|
||||
return
|
||||
end
|
||||
get_local $0
|
||||
i32.const 0
|
||||
get_local $0
|
||||
i32.sub
|
||||
i32.const 3
|
||||
i32.and
|
||||
tee_local $2
|
||||
get_local $0
|
||||
i32.add
|
||||
tee_local $0
|
||||
i32.const 0
|
||||
i32.store
|
||||
get_local $0
|
||||
get_local $1
|
||||
get_local $2
|
||||
i32.sub
|
||||
i32.const -4
|
||||
i32.and
|
||||
tee_local $1
|
||||
get_local $0
|
||||
i32.add
|
||||
i32.const 4
|
||||
i32.sub
|
||||
@ -319,12 +319,12 @@
|
||||
i32.const 0
|
||||
i32.store
|
||||
get_local $0
|
||||
get_local $0
|
||||
i32.const 4
|
||||
i32.and
|
||||
i32.const 24
|
||||
i32.add
|
||||
tee_local $2
|
||||
get_local $0
|
||||
i32.add
|
||||
set_local $0
|
||||
get_local $1
|
||||
@ -449,22 +449,22 @@
|
||||
(local $3 i32)
|
||||
i32.const -2128831035
|
||||
set_local $2
|
||||
block $break|0
|
||||
get_local $0
|
||||
i32.load
|
||||
i32.const 1
|
||||
i32.shl
|
||||
set_local $3
|
||||
loop $repeat|0
|
||||
get_local $0
|
||||
i32.load
|
||||
i32.const 1
|
||||
i32.shl
|
||||
set_local $3
|
||||
loop $repeat|0
|
||||
block $break|0
|
||||
get_local $1
|
||||
get_local $3
|
||||
i32.ge_u
|
||||
br_if $break|0
|
||||
get_local $2
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.add
|
||||
i32.load8_u offset=4
|
||||
get_local $2
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
@ -474,9 +474,7 @@
|
||||
i32.add
|
||||
set_local $1
|
||||
br $repeat|0
|
||||
unreachable
|
||||
end
|
||||
unreachable
|
||||
end
|
||||
get_local $2
|
||||
)
|
||||
@ -559,9 +557,9 @@
|
||||
(func $~lib/map/Map<String,usize>#find (; 10 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $2
|
||||
get_local $0
|
||||
i32.load offset=4
|
||||
get_local $2
|
||||
i32.and
|
||||
i32.const 2
|
||||
i32.shl
|
||||
@ -662,7 +660,6 @@
|
||||
i32.load offset=4
|
||||
i32.store offset=4
|
||||
get_local $3
|
||||
get_local $4
|
||||
get_local $2
|
||||
i32.load
|
||||
call $~lib/internal/hash/hashStr
|
||||
@ -670,6 +667,7 @@
|
||||
i32.and
|
||||
i32.const 2
|
||||
i32.shl
|
||||
get_local $4
|
||||
i32.add
|
||||
tee_local $8
|
||||
i32.load offset=8
|
||||
@ -784,9 +782,9 @@
|
||||
get_local $3
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $5
|
||||
get_local $0
|
||||
i32.load offset=4
|
||||
get_local $5
|
||||
i32.and
|
||||
i32.const 2
|
||||
i32.shl
|
||||
@ -833,9 +831,9 @@
|
||||
(func $~lib/map/Map<usize,String>#find (; 14 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $2
|
||||
get_local $0
|
||||
i32.load offset=4
|
||||
get_local $2
|
||||
i32.and
|
||||
i32.const 2
|
||||
i32.shl
|
||||
@ -936,7 +934,6 @@
|
||||
i32.load offset=4
|
||||
i32.store offset=4
|
||||
get_local $3
|
||||
get_local $4
|
||||
get_local $2
|
||||
i32.load
|
||||
call $~lib/internal/hash/hash32
|
||||
@ -944,6 +941,7 @@
|
||||
i32.and
|
||||
i32.const 2
|
||||
i32.shl
|
||||
get_local $4
|
||||
i32.add
|
||||
tee_local $8
|
||||
i32.load offset=8
|
||||
@ -1058,9 +1056,9 @@
|
||||
get_local $3
|
||||
get_local $0
|
||||
i32.load
|
||||
get_local $5
|
||||
get_local $0
|
||||
i32.load offset=4
|
||||
get_local $5
|
||||
i32.and
|
||||
i32.const 2
|
||||
i32.shl
|
||||
@ -1436,9 +1434,6 @@
|
||||
i32.ge_u
|
||||
if
|
||||
get_local $0
|
||||
get_local $5
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 1
|
||||
i32.add
|
||||
@ -1446,14 +1441,14 @@
|
||||
tee_local $3
|
||||
i32.const 8
|
||||
i32.shl
|
||||
get_local $5
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 5
|
||||
i32.add
|
||||
@ -1461,14 +1456,14 @@
|
||||
tee_local $5
|
||||
i32.const 8
|
||||
i32.shl
|
||||
get_local $3
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 8
|
||||
i32.add
|
||||
get_local $5
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 9
|
||||
i32.add
|
||||
@ -1476,14 +1471,14 @@
|
||||
tee_local $3
|
||||
i32.const 8
|
||||
i32.shl
|
||||
get_local $5
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 12
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 13
|
||||
i32.add
|
||||
@ -1491,6 +1486,9 @@
|
||||
tee_local $5
|
||||
i32.const 8
|
||||
i32.shl
|
||||
get_local $3
|
||||
i32.const 24
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $1
|
||||
@ -1545,9 +1543,6 @@
|
||||
i32.ge_u
|
||||
if
|
||||
get_local $0
|
||||
get_local $5
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 2
|
||||
i32.add
|
||||
@ -1555,14 +1550,14 @@
|
||||
tee_local $3
|
||||
i32.const 16
|
||||
i32.shl
|
||||
get_local $5
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 6
|
||||
i32.add
|
||||
@ -1570,14 +1565,14 @@
|
||||
tee_local $5
|
||||
i32.const 16
|
||||
i32.shl
|
||||
get_local $3
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 8
|
||||
i32.add
|
||||
get_local $5
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 10
|
||||
i32.add
|
||||
@ -1585,14 +1580,14 @@
|
||||
tee_local $3
|
||||
i32.const 16
|
||||
i32.shl
|
||||
get_local $5
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 12
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 14
|
||||
i32.add
|
||||
@ -1600,6 +1595,9 @@
|
||||
tee_local $5
|
||||
i32.const 16
|
||||
i32.shl
|
||||
get_local $3
|
||||
i32.const 16
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $1
|
||||
@ -1646,9 +1644,6 @@
|
||||
i32.ge_u
|
||||
if
|
||||
get_local $0
|
||||
get_local $5
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 3
|
||||
i32.add
|
||||
@ -1656,14 +1651,14 @@
|
||||
tee_local $3
|
||||
i32.const 24
|
||||
i32.shl
|
||||
get_local $5
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 7
|
||||
i32.add
|
||||
@ -1671,14 +1666,14 @@
|
||||
tee_local $5
|
||||
i32.const 24
|
||||
i32.shl
|
||||
get_local $3
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 8
|
||||
i32.add
|
||||
get_local $5
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 11
|
||||
i32.add
|
||||
@ -1686,14 +1681,14 @@
|
||||
tee_local $3
|
||||
i32.const 24
|
||||
i32.shl
|
||||
get_local $5
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $0
|
||||
i32.const 12
|
||||
i32.add
|
||||
get_local $3
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
get_local $1
|
||||
i32.const 15
|
||||
i32.add
|
||||
@ -1701,6 +1696,9 @@
|
||||
tee_local $5
|
||||
i32.const 24
|
||||
i32.shl
|
||||
get_local $3
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.or
|
||||
i32.store
|
||||
get_local $1
|
||||
@ -2254,11 +2252,11 @@
|
||||
if
|
||||
return
|
||||
end
|
||||
get_local $0
|
||||
get_local $2
|
||||
i32.const 1
|
||||
i32.sub
|
||||
tee_local $2
|
||||
get_local $0
|
||||
i32.add
|
||||
get_local $1
|
||||
get_local $2
|
||||
@ -2273,11 +2271,11 @@
|
||||
i32.const 8
|
||||
i32.ge_u
|
||||
if
|
||||
get_local $0
|
||||
get_local $2
|
||||
i32.const 8
|
||||
i32.sub
|
||||
tee_local $2
|
||||
get_local $0
|
||||
i32.add
|
||||
get_local $1
|
||||
get_local $2
|
||||
@ -2291,11 +2289,11 @@
|
||||
loop $continue|5
|
||||
get_local $2
|
||||
if
|
||||
get_local $0
|
||||
get_local $2
|
||||
i32.const 1
|
||||
i32.sub
|
||||
tee_local $2
|
||||
get_local $0
|
||||
i32.add
|
||||
get_local $1
|
||||
get_local $2
|
||||
@ -2308,10 +2306,10 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/internal/string/copyUnsafe (; 24 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
||||
get_local $0
|
||||
get_local $1
|
||||
i32.const 1
|
||||
i32.shl
|
||||
get_local $0
|
||||
i32.add
|
||||
i32.const 4
|
||||
i32.add
|
||||
|
Reference in New Issue
Block a user