Update Binaryen and other dependencies; Update dist files

This commit is contained in:
dcode
2019-01-09 13:02:47 +01:00
parent f714afab3c
commit 20f4092eb2
52 changed files with 3970 additions and 4365 deletions

View File

@ -349,32 +349,28 @@
)
(func $~lib/internal/string/compareUnsafe (; 6 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
get_local $0
set_local $3
loop $continue|0
get_local $2
if (result i32)
get_local $3
get_local $0
i32.load16_u offset=4
get_local $1
i32.load16_u offset=4
i32.sub
tee_local $4
tee_local $3
i32.eqz
else
get_local $2
end
tee_local $0
if
get_local $2
i32.const 1
i32.sub
set_local $2
get_local $3
get_local $0
i32.const 2
i32.add
set_local $3
set_local $0
get_local $1
i32.const 2
i32.add
@ -382,7 +378,7 @@
br $continue|0
end
end
get_local $4
get_local $3
)
(func $~lib/string/String.__eq (; 7 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -749,88 +745,85 @@
i64.and
tee_local $1
get_local $5
i64.lt_u
if (result i32)
get_global $~lib/internal/number/_K
get_local $9
i32.add
set_global $~lib/internal/number/_K
get_local $12
i32.const 0
get_local $9
i32.sub
i32.const 2
i32.shl
i32.add
i64.load32_u offset=8
i64.ge_u
br_if $continue|3
get_global $~lib/internal/number/_K
get_local $9
i32.add
set_global $~lib/internal/number/_K
get_local $12
i32.const 0
get_local $9
i32.sub
i32.const 2
i32.shl
i32.add
i64.load32_u offset=8
get_local $8
i64.mul
set_local $8
get_local $6
i32.const 1
i32.sub
i32.const 1
i32.shl
get_local $0
i32.add
tee_local $7
i32.load16_u offset=4
set_local $4
loop $continue|4
get_local $1
get_local $8
i64.mul
set_local $8
get_local $6
i32.const 1
i32.sub
i32.const 1
i32.shl
get_local $0
i32.add
tee_local $7
i32.load16_u offset=4
set_local $4
loop $continue|4
i64.lt_u
tee_local $2
if
get_local $5
get_local $1
i64.sub
get_local $10
i64.ge_u
set_local $2
end
get_local $2
if
get_local $1
get_local $10
i64.add
get_local $8
i64.lt_u
tee_local $2
i32.eqz
if
get_local $5
get_local $8
get_local $1
i64.sub
get_local $10
i64.ge_u
set_local $2
end
get_local $2
if
get_local $1
get_local $10
i64.add
get_local $8
i64.lt_u
tee_local $2
i32.eqz
if
get_local $8
get_local $1
i64.sub
get_local $1
get_local $10
i64.add
get_local $8
i64.sub
i64.gt_u
set_local $2
end
end
get_local $2
if
get_local $4
i32.const 1
i32.sub
set_local $4
get_local $1
get_local $10
i64.add
set_local $1
br $continue|4
i64.sub
i64.gt_u
set_local $2
end
end
get_local $7
get_local $4
i32.store16 offset=4
get_local $6
else
br $continue|3
get_local $2
if
get_local $4
i32.const 1
i32.sub
set_local $4
get_local $1
get_local $10
i64.add
set_local $1
br $continue|4
end
end
get_local $7
get_local $4
i32.store16 offset=4
get_local $6
end
)
(func $~lib/internal/memory/memcpy (; 9 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
@ -838,15 +831,12 @@
(local $4 i32)
(local $5 i32)
loop $continue|0
get_local $1
i32.const 3
i32.and
get_local $2
if (result i32)
get_local $1
i32.const 3
i32.and
else
get_local $2
end
tee_local $3
get_local $2
select
if
get_local $0
tee_local $4
@ -938,14 +928,14 @@
i32.add
i32.load
i32.store
get_local $0
i32.const 8
i32.add
set_local $0
get_local $1
i32.const 8
i32.add
set_local $1
get_local $0
i32.const 8
i32.add
set_local $0
end
get_local $2
i32.const 4
@ -955,14 +945,14 @@
get_local $1
i32.load
i32.store
get_local $0
i32.const 4
i32.add
set_local $0
get_local $1
i32.const 4
i32.add
set_local $1
get_local $0
i32.const 4
i32.add
set_local $0
end
get_local $2
i32.const 2
@ -972,21 +962,19 @@
get_local $1
i32.load16_u
i32.store16
get_local $0
i32.const 2
i32.add
set_local $0
get_local $1
i32.const 2
i32.add
set_local $1
get_local $0
i32.const 2
i32.add
set_local $0
end
get_local $2
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -1729,8 +1717,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -1797,7 +1783,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1843,7 +1828,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1940,6 +1924,7 @@
(func $~lib/internal/number/prettify (; 11 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
get_local $2
i32.eqz
if
@ -1959,11 +1944,11 @@
get_local $1
get_local $2
i32.add
tee_local $4
tee_local $5
i32.le_s
tee_local $3
if
get_local $4
get_local $5
i32.const 21
i32.le_s
set_local $3
@ -1975,7 +1960,7 @@
loop $repeat|0
block $break|0
get_local $3
get_local $4
get_local $5
i32.ge_s
br_if $break|0
get_local $3
@ -1992,40 +1977,41 @@
br $repeat|0
end
end
get_local $4
get_local $5
i32.const 1
i32.shl
get_local $0
i32.add
i32.const 3145774
i32.store offset=4
get_local $4
get_local $5
i32.const 2
i32.add
else
get_local $4
get_local $5
i32.const 0
i32.gt_s
tee_local $3
if
get_local $4
get_local $5
i32.const 21
i32.le_s
set_local $3
end
get_local $3
if (result i32)
get_local $4
get_local $5
i32.const 1
i32.shl
get_local $0
i32.add
tee_local $3
i32.const 6
i32.add
get_local $3
i32.const 4
i32.add
tee_local $0
i32.const 2
i32.add
get_local $0
i32.const 0
get_local $2
i32.sub
@ -2040,11 +2026,11 @@
i32.add
else
i32.const -6
get_local $4
get_local $5
i32.lt_s
tee_local $3
if
get_local $4
get_local $5
i32.const 0
i32.le_s
set_local $3
@ -2054,16 +2040,15 @@
get_local $0
i32.const 4
i32.add
tee_local $2
i32.const 2
get_local $4
get_local $5
i32.sub
tee_local $3
i32.const 1
i32.shl
i32.add
get_local $0
i32.const 4
i32.add
get_local $2
get_local $1
i32.const 1
i32.shl
@ -2072,24 +2057,24 @@
i32.const 3014704
i32.store offset=4
i32.const 2
set_local $2
set_local $4
loop $repeat|1
block $break|1
get_local $2
get_local $4
get_local $3
i32.ge_s
br_if $break|1
get_local $2
get_local $4
i32.const 1
i32.shl
get_local $0
i32.add
i32.const 48
i32.store16 offset=4
get_local $2
get_local $4
i32.const 1
i32.add
set_local $2
set_local $4
br $repeat|1
end
end
@ -2107,48 +2092,52 @@
get_local $0
i32.const 4
i32.add
set_local $3
get_local $4
i32.const 1
i32.sub
tee_local $2
i32.const 0
i32.lt_s
tee_local $0
if
i32.const 0
get_local $2
tee_local $3
block (result i32)
get_local $5
i32.const 1
i32.sub
set_local $2
tee_local $4
i32.const 0
i32.lt_s
tee_local $2
if
i32.const 0
get_local $4
i32.sub
set_local $4
end
get_local $4
end
get_local $3
get_local $2
get_local $2
get_local $4
call $~lib/internal/number/decimalCount32
i32.const 1
i32.add
tee_local $2
tee_local $4
call $~lib/internal/number/utoa32_lut
get_local $3
i32.const 45
i32.const 43
get_local $0
get_local $2
select
i32.store16 offset=4
get_local $2
get_local $4
i32.const 2
i32.add
else
get_local $0
i32.const 8
i32.const 4
i32.add
get_local $0
i32.const 6
tee_local $3
i32.const 4
i32.add
get_local $3
i32.const 2
i32.add
get_local $1
i32.const 1
i32.shl
tee_local $2
tee_local $4
i32.const 2
i32.sub
call $~lib/internal/memory/memmove
@ -2156,7 +2145,7 @@
i32.const 46
i32.store16 offset=6
get_local $0
get_local $2
get_local $4
i32.add
tee_local $0
i32.const 101
@ -2164,36 +2153,37 @@
get_local $0
i32.const 4
i32.add
set_local $3
get_local $4
i32.const 1
i32.sub
tee_local $2
i32.const 0
i32.lt_s
tee_local $0
if
i32.const 0
get_local $2
tee_local $3
block (result i32)
get_local $5
i32.const 1
i32.sub
set_local $2
tee_local $4
i32.const 0
i32.lt_s
tee_local $2
if
i32.const 0
get_local $4
i32.sub
set_local $4
end
get_local $4
end
get_local $3
get_local $2
get_local $2
get_local $4
call $~lib/internal/number/decimalCount32
i32.const 1
i32.add
tee_local $2
tee_local $0
call $~lib/internal/number/utoa32_lut
get_local $3
i32.const 45
i32.const 43
get_local $0
get_local $2
select
i32.store16 offset=4
get_local $0
get_local $1
get_local $2
i32.add
i32.const 2
i32.add
@ -2206,8 +2196,8 @@
(local $2 i64)
(local $3 i64)
(local $4 i32)
(local $5 i32)
(local $6 i64)
(local $5 i64)
(local $6 i32)
(local $7 i64)
(local $8 i32)
(local $9 i64)
@ -2221,15 +2211,15 @@
f64.const 0
f64.lt
tee_local $13
if
get_local $1
f64.neg
set_local $1
if (result f64)
get_local $0
i32.const 45
i32.store16 offset=4
get_local $1
f64.neg
else
get_local $1
end
get_local $1
i64.reinterpret/f64
tee_local $2
i64.const 9218868437227405312
@ -2244,7 +2234,7 @@
get_local $8
i32.const 0
i32.ne
tee_local $5
tee_local $6
i64.extend_u/i32
i64.const 52
i64.shl
@ -2252,24 +2242,24 @@
set_local $2
get_local $8
i32.const 1
get_local $5
get_local $6
select
i32.const 1075
i32.sub
tee_local $8
i32.const 1
i32.sub
set_local $5
set_local $6
get_local $2
i64.const 1
i64.shl
i64.const 1
i64.add
tee_local $6
tee_local $5
i64.clz
i32.wrap/i64
set_local $4
get_local $6
get_local $5
get_local $4
i64.extend_s/i32
i64.shl
@ -2288,15 +2278,15 @@
get_local $8
get_local $14
i32.sub
get_local $5
get_local $6
get_local $4
i32.sub
tee_local $5
tee_local $6
i32.sub
i64.extend_s/i32
i64.shl
set_global $~lib/internal/number/_frc_minus
get_local $5
get_local $6
set_global $~lib/internal/number/_exp
i32.const 348
i32.const -61
@ -2319,7 +2309,7 @@
i32.shr_s
i32.const 1
i32.add
tee_local $5
tee_local $6
i32.const 3
i32.shl
i32.sub
@ -2329,14 +2319,14 @@
set_local $4
i32.const 1728
i32.load
get_local $5
get_local $6
i32.const 3
i32.shl
i32.add
i64.load offset=8
set_global $~lib/internal/number/_frc_pow
get_local $4
get_local $5
get_local $6
i32.const 1
i32.shl
i32.add
@ -2354,13 +2344,13 @@
i64.and
tee_local $7
get_global $~lib/internal/number/_frc_pow
tee_local $6
tee_local $5
i64.const 4294967295
i64.and
tee_local $9
i64.mul
set_local $10
get_local $6
get_local $5
i64.const 32
i64.shr_u
tee_local $11
@ -2380,7 +2370,6 @@
i64.const 4294967295
i64.and
i64.add
tee_local $2
i64.const 2147483647
i64.add
i64.const 32
@ -2394,7 +2383,7 @@
i64.add
i64.add
set_local $2
get_local $6
get_local $5
i64.const 4294967295
i64.and
tee_local $11
@ -2406,7 +2395,7 @@
i64.mul
set_local $7
get_local $10
get_local $6
get_local $5
i64.const 32
i64.shr_u
tee_local $9
@ -2425,7 +2414,6 @@
i64.const 4294967295
i64.and
i64.add
tee_local $7
i64.const 2147483647
i64.add
i64.const 32
@ -2444,13 +2432,13 @@
i64.const 4294967295
i64.and
tee_local $7
get_local $6
get_local $5
i64.const 4294967295
i64.and
tee_local $9
i64.mul
set_local $10
get_local $6
get_local $5
i64.const 32
i64.shr_u
tee_local $11
@ -2470,7 +2458,7 @@
i64.const 4294967295
i64.and
i64.add
set_local $6
set_local $5
get_local $15
i64.const 1
i64.sub
@ -2482,7 +2470,7 @@
i64.const 32
i64.shr_u
i64.add
get_local $6
get_local $5
i64.const 2147483647
i64.add
i64.const 32
@ -2507,7 +2495,6 @@
i32.add
i32.const -64
i32.sub
tee_local $5
get_local $7
get_local $4
get_global $~lib/internal/number/_exp