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

@ -24,43 +24,49 @@
tee_local $2
i32.wrap/i64
set_local $3
get_local $2
i64.const 32
i64.shr_u
i32.wrap/i64
tee_local $4
i32.const 2147483647
i32.and
tee_local $5
i32.const 2146435072
i32.gt_s
tee_local $1
i32.eqz
if
get_local $5
i32.const 2146435072
i32.eq
tee_local $1
block (result i32)
block (result i32)
block (result i32)
get_local $2
i64.const 32
i64.shr_u
i32.wrap/i64
tee_local $4
i32.const 2147483647
i32.and
tee_local $5
i32.const 2146435072
i32.gt_s
tee_local $1
i32.eqz
if
get_local $5
i32.const 2146435072
i32.eq
tee_local $1
if
get_local $3
i32.const 0
i32.ne
set_local $1
end
end
get_local $1
i32.eqz
end
if
i32.const 0
set_local $1
end
get_local $1
i32.eqz
end
if
get_local $3
i32.const 0
i32.ne
set_local $1
end
get_local $1
end
get_local $1
i32.eqz
if
i32.const 0
set_local $1
end
get_local $1
i32.eqz
if
i32.const 0
set_local $1
end
get_local $1
if
get_local $0
f64.const 1
@ -90,12 +96,11 @@
i32.const 255
i32.eq
tee_local $3
i32.eqz
if
if (result i32)
get_local $3
else
i32.const 0
set_local $3
end
get_local $3
if
get_local $0
get_local $0
@ -188,7 +193,6 @@
tee_local $3
i32.shl
set_local $1
get_local $4
get_local $2
get_local $3
i32.sub
@ -210,7 +214,7 @@
i32.sub
i32.shr_u
end
tee_local $1
get_local $4
i32.or
f32.reinterpret/i32
return
@ -219,12 +223,39 @@
get_local $0
f32.mul
)
(func $~lib/math/NativeMath.mod (; 2 ;) (type $FUNCSIG$dd) (param $0 f64) (result f64)
(func $~lib/math/NativeMathf.pow (; 2 ;) (type $FUNCSIG$ff) (param $0 f32) (result f32)
(local $1 i32)
(local $2 i32)
block (result i32)
get_local $0
i32.reinterpret/f32
tee_local $2
i32.const 2147483647
i32.and
i32.const 2139095040
i32.gt_s
tee_local $1
i32.eqz
if
i32.const 0
set_local $1
end
get_local $1
end
if
get_local $0
f32.const 1
f32.add
return
end
get_local $0
)
(func $~lib/math/NativeMath.mod (; 3 ;) (type $FUNCSIG$dd) (param $0 f64) (result f64)
(local $1 i64)
(local $2 i64)
(local $3 i64)
(local $4 i32)
(local $5 i64)
(local $4 i64)
(local $5 i32)
get_local $0
i64.reinterpret/f64
tee_local $1
@ -236,17 +267,16 @@
get_local $1
i64.const 63
i64.shr_u
set_local $5
set_local $4
get_local $2
i64.const 2047
i64.eq
tee_local $4
i32.eqz
if
tee_local $5
if (result i32)
get_local $5
else
i32.const 0
set_local $4
end
get_local $4
if
get_local $0
get_local $0
@ -365,8 +395,7 @@
i64.add
i64.shr_u
end
tee_local $1
get_local $5
get_local $4
i64.const 63
i64.shl
i64.or
@ -377,42 +406,46 @@
get_local $0
f64.mul
)
(func $start (; 3 ;) (type $v)
(local $0 f32)
(local $1 i32)
(func $start (; 4 ;) (type $v)
(local $0 i32)
(local $1 i64)
(local $2 f32)
(local $3 f64)
(local $4 i32)
get_global $binary/i
tee_local $0
i32.const 1
i32.rem_s
drop
get_global $binary/i
get_local $0
f64.convert_s/i32
call $~lib/math/NativeMath.pow
drop
get_global $binary/i
tee_local $0
i32.const 1
i32.lt_s
set_global $binary/b
get_global $binary/i
get_local $0
i32.const 1
i32.gt_s
set_global $binary/b
get_global $binary/i
get_local $0
i32.const 1
i32.le_s
set_global $binary/b
get_global $binary/i
get_local $0
i32.const 1
i32.ge_s
set_global $binary/b
get_global $binary/i
get_local $0
i32.const 1
i32.eq
tee_local $4
set_global $binary/b
get_global $binary/i
i32.const 1
i32.eq
get_local $4
set_global $binary/b
get_global $binary/i
get_local $0
i32.const 1
i32.add
set_global $binary/i
@ -490,38 +523,39 @@
i32.xor
set_global $binary/i
get_global $binary/I
tee_local $1
i64.const 1
i64.rem_s
drop
get_global $binary/I
get_local $1
f64.convert_s/i64
call $~lib/math/NativeMath.pow
drop
get_global $binary/I
tee_local $1
i64.const 1
i64.lt_s
set_global $binary/b
get_global $binary/I
get_local $1
i64.const 1
i64.gt_s
set_global $binary/b
get_global $binary/I
get_local $1
i64.const 1
i64.le_s
set_global $binary/b
get_global $binary/I
get_local $1
i64.const 1
i64.ge_s
set_global $binary/b
get_global $binary/I
get_local $1
i64.const 1
i64.eq
tee_local $0
set_global $binary/b
get_global $binary/I
i64.const 1
i64.eq
get_local $0
set_global $binary/b
get_global $binary/I
get_local $1
i64.const 1
i64.add
set_global $binary/I
@ -602,47 +636,33 @@
call $~lib/math/NativeMathf.mod
drop
get_global $binary/f
tee_local $0
i32.reinterpret/f32
i32.const 2147483647
i32.and
i32.const 2139095040
i32.gt_s
tee_local $1
i32.eqz
if
i32.const 0
set_local $1
end
block $__inlined_func$~lib/math/NativeMathf.pow
get_local $1
br_if $__inlined_func$~lib/math/NativeMathf.pow
end
call $~lib/math/NativeMathf.pow
drop
get_global $binary/f
tee_local $2
f32.const 1
f32.lt
set_global $binary/b
get_global $binary/f
get_local $2
f32.const 1
f32.gt
set_global $binary/b
get_global $binary/f
get_local $2
f32.const 1
f32.le
set_global $binary/b
get_global $binary/f
get_local $2
f32.const 1
f32.ge
set_global $binary/b
get_global $binary/f
get_local $2
f32.const 1
f32.eq
tee_local $0
set_global $binary/b
get_global $binary/f
f32.const 1
f32.eq
get_local $0
set_global $binary/b
get_global $binary/f
get_local $2
f32.const 1
f32.add
set_global $binary/f
@ -654,26 +674,7 @@
call $~lib/math/NativeMathf.mod
set_global $binary/f
get_global $binary/f
tee_local $0
i32.reinterpret/f32
i32.const 2147483647
i32.and
i32.const 2139095040
i32.gt_s
tee_local $1
i32.eqz
if
i32.const 0
set_local $1
end
get_local $1
if
get_local $0
f32.const 1
f32.add
set_local $0
end
get_local $0
call $~lib/math/NativeMathf.pow
set_global $binary/f
get_global $binary/f
f32.const 1
@ -687,26 +688,7 @@
call $~lib/math/NativeMathf.mod
set_global $binary/f
get_global $binary/f
tee_local $0
i32.reinterpret/f32
i32.const 2147483647
i32.and
i32.const 2139095040
i32.gt_s
tee_local $1
i32.eqz
if
i32.const 0
set_local $1
end
get_local $1
if
get_local $0
f32.const 1
f32.add
set_local $0
end
get_local $0
call $~lib/math/NativeMathf.pow
set_global $binary/f
get_global $binary/F
call $~lib/math/NativeMath.mod
@ -715,30 +697,30 @@
call $~lib/math/NativeMath.pow
drop
get_global $binary/F
tee_local $3
f64.const 1
f64.lt
set_global $binary/b
get_global $binary/F
get_local $3
f64.const 1
f64.gt
set_global $binary/b
get_global $binary/F
get_local $3
f64.const 1
f64.le
set_global $binary/b
get_global $binary/F
get_local $3
f64.const 1
f64.ge
set_global $binary/b
get_global $binary/F
get_local $3
f64.const 1
f64.eq
tee_local $0
set_global $binary/b
get_global $binary/F
f64.const 1
f64.eq
get_local $0
set_global $binary/b
get_global $binary/F
get_local $3
f64.const 1
f64.add
set_global $binary/F
@ -767,7 +749,7 @@
call $~lib/math/NativeMath.pow
set_global $binary/F
)
(func $null (; 4 ;) (type $v)
(func $null (; 5 ;) (type $v)
nop
)
)

View File

@ -45,8 +45,9 @@
i32.add
set_global $comma/a
get_global $comma/a
tee_local $0
set_global $comma/b
get_global $comma/a
get_local $0
i32.const 2
i32.ne
if
@ -77,8 +78,9 @@
i32.add
set_global $comma/a
get_global $comma/a
tee_local $0
set_global $comma/b
get_global $comma/a
get_local $0
i32.const 1
i32.ne
if

View File

@ -14,12 +14,10 @@
(export "ifThenElseBlock" (func $if/ifThenElse))
(export "ifAlwaysReturns" (func $if/ifAlwaysReturns))
(func $if/ifThenElse (; 1 ;) (type $ii) (param $0 i32) (result i32)
i32.const 1
i32.const 0
get_local $0
if (result i32)
i32.const 1
else
i32.const 0
end
select
)
(func $if/ifThen (; 2 ;) (type $ii) (param $0 i32) (result i32)
get_local $0

View File

@ -190,8 +190,8 @@
(local $4 f64)
(local $5 f64)
(local $6 f64)
(local $7 f64)
(local $8 i32)
(local $7 i32)
(local $8 f64)
(local $9 f64)
(local $10 f64)
(local $11 f64)
@ -201,40 +201,40 @@
tee_local $6
f64.const 1.6
f64.div
set_local $11
get_local $0
f64.convert_u/i32
get_local $2
f64.convert_u/i32
tee_local $4
f64.const 2
f64.div
tee_local $7
f64.sub
set_local $12
f64.const 10
f64.const 3
get_local $6
f64.mul
f64.const 4
get_local $4
get_local $2
f64.convert_u/i32
tee_local $4
f64.mul
f64.min
f64.div
tee_local $12
f64.mul
set_local $9
get_local $0
f64.convert_u/i32
get_local $4
f64.const 2
f64.div
f64.sub
get_local $9
f64.mul
set_local $10
loop $repeat|0
get_local $8
get_local $7
get_local $1
i32.lt_u
if
get_local $8
get_local $7
f64.convert_u/i32
get_local $11
f64.sub
get_local $12
f64.sub
get_local $9
f64.mul
set_local $10
set_local $11
f64.const 0
set_local $4
f64.const 0
@ -249,7 +249,7 @@
get_local $5
get_local $5
f64.mul
tee_local $7
tee_local $8
f64.add
f64.const 4
f64.le
@ -260,13 +260,13 @@
f64.mul
get_local $5
f64.mul
get_local $9
get_local $10
f64.add
set_local $5
get_local $6
get_local $7
get_local $8
f64.sub
get_local $10
get_local $11
f64.add
set_local $4
get_local $2
@ -299,18 +299,18 @@
get_local $5
f64.mul
f64.sub
get_local $10
get_local $11
f64.add
set_local $7
set_local $8
f64.const 2
get_local $4
f64.mul
get_local $5
f64.mul
get_local $9
get_local $10
f64.add
set_local $5
get_local $7
get_local $8
set_local $4
get_local $2
i32.const 1
@ -322,7 +322,7 @@
get_local $0
get_local $1
i32.mul
get_local $8
get_local $7
i32.add
i32.const 1
i32.shl
@ -363,12 +363,11 @@
else
i32.const 2047
end
tee_local $2
i32.store16
get_local $8
get_local $7
i32.const 1
i32.add
set_local $8
set_local $7
br $repeat|0
end
end

View File

@ -20,15 +20,12 @@
get_local $0
set_local $6
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
@ -120,14 +117,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
@ -137,14 +134,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
@ -154,21 +151,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
@ -912,8 +907,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u

View File

@ -16,12 +16,12 @@
(local $4 i32)
(local $5 i32)
get_local $0
set_local $4
set_local $3
get_local $0
get_local $1
i32.eq
if
get_local $4
get_local $3
return
end
get_local $0
@ -44,7 +44,7 @@
get_local $2
i32.eqz
if
get_local $4
get_local $3
return
end
get_local $2
@ -52,18 +52,17 @@
i32.sub
set_local $2
get_local $0
tee_local $5
tee_local $3
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
tee_local $3
tee_local $5
i32.const 1
i32.add
set_local $1
get_local $4
get_local $5
get_local $3
i32.load8_u
i32.store8
br $continue|0
@ -98,18 +97,17 @@
get_local $2
if
get_local $0
tee_local $5
tee_local $3
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
tee_local $3
tee_local $5
i32.const 1
i32.add
set_local $1
get_local $4
get_local $5
get_local $3
i32.load8_u
i32.store8
get_local $2
@ -138,7 +136,7 @@
get_local $2
i32.eqz
if
get_local $4
get_local $3
return
end
get_local $2
@ -193,7 +191,7 @@
end
end
end
get_local $4
get_local $3
)
(func $start (; 2 ;) (type $v)
i32.const 8

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

View File

@ -80,32 +80,28 @@
)
(func $~lib/internal/string/compareUnsafe (; 2 ;) (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
@ -113,7 +109,7 @@
br $continue|0
end
end
get_local $4
get_local $3
)
(func $~lib/string/String.__eq (; 3 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(local $1 i32)
@ -127,12 +123,11 @@
get_local $0
i32.eqz
tee_local $1
i32.eqz
if
if (result i32)
get_local $1
else
i32.const 0
set_local $1
end
get_local $1
if
i32.const 0
return

View File

@ -267,15 +267,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
@ -367,14 +364,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
@ -384,14 +381,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
@ -401,21 +398,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
@ -1158,8 +1153,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -1184,16 +1177,15 @@
get_local $0
i32.le_u
tee_local $3
i32.eqz
if
if (result i32)
get_local $3
else
get_local $0
i32.const 42
i32.add
get_local $1
i32.le_u
set_local $3
end
get_local $3
if
get_local $0
get_local $1
@ -1229,7 +1221,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1275,7 +1266,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1386,15 +1376,15 @@
i32.const 0
i32.ne
tee_local $3
if
if (result i32)
get_local $0
i32.load8_u
get_local $1
i32.load8_u
i32.eq
set_local $3
else
get_local $3
end
get_local $3
if
get_local $2
i32.const 1
@ -1421,7 +1411,6 @@
else
i32.const 0
end
tee_local $0
)
(func $start (; 6 ;) (type $v)
i32.const 56

View File

@ -33,7 +33,6 @@
else
unreachable
end
tee_local $0
i32.load
tee_local $0
i32.load
@ -48,7 +47,6 @@
else
unreachable
end
tee_local $0
)
(func $std/array-access/stringArrayPropertyAccess (; 2 ;) (type $ii) (param $0 i32) (result i32)
i32.const 0
@ -65,7 +63,6 @@
else
unreachable
end
tee_local $0
i32.load
)
(func $~lib/internal/string/compareUnsafe (; 3 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
@ -89,7 +86,6 @@
else
get_local $3
end
tee_local $0
if
get_local $3
i32.const 1
@ -163,7 +159,6 @@
else
unreachable
end
tee_local $0
call $~lib/string/String#startsWith
)
(func $std/array-access/stringArrayArrayPropertyAccess (; 6 ;) (type $ii) (param $0 i32) (result i32)
@ -182,7 +177,6 @@
else
unreachable
end
tee_local $0
i32.load
tee_local $0
i32.load
@ -197,7 +191,6 @@
else
unreachable
end
tee_local $0
i32.load
)
(func $std/array-access/stringArrayArrayMethodCall (; 7 ;) (type $ii) (param $0 i32) (result i32)
@ -216,7 +209,6 @@
else
unreachable
end
tee_local $0
i32.load
tee_local $0
i32.load
@ -231,7 +223,6 @@
else
unreachable
end
tee_local $0
call $~lib/string/String#startsWith
)
(func $null (; 8 ;) (type $v)

View File

@ -422,7 +422,6 @@
else
unreachable
end
tee_local $0
i32.const 255
i32.and
if
@ -447,7 +446,6 @@
else
unreachable
end
tee_local $0
i32.const 255
i32.and
i32.const 1
@ -474,7 +472,6 @@
else
unreachable
end
tee_local $0
i32.const 255
i32.and
i32.const 2
@ -513,7 +510,6 @@
else
unreachable
end
tee_local $0
if
i32.const 0
i32.const 32
@ -538,7 +534,6 @@
else
unreachable
end
tee_local $0
i32.const 1
i32.ne
if
@ -565,7 +560,6 @@
else
unreachable
end
tee_local $0
i32.const 2
i32.ne
if
@ -590,8 +584,9 @@
tee_local $0
i32.load
get_global $std/array-literal/i
tee_local $1
i32.store8 offset=8
get_global $std/array-literal/i
get_local $1
i32.const 1
i32.add
set_global $std/array-literal/i
@ -600,8 +595,9 @@
i32.const 1
i32.add
get_global $std/array-literal/i
tee_local $1
i32.store8 offset=8
get_global $std/array-literal/i
get_local $1
i32.const 1
i32.add
set_global $std/array-literal/i
@ -637,7 +633,6 @@
else
unreachable
end
tee_local $0
i32.const 255
i32.and
if
@ -662,7 +657,6 @@
else
unreachable
end
tee_local $0
i32.const 255
i32.and
i32.const 1
@ -689,7 +683,6 @@
else
unreachable
end
tee_local $0
i32.const 255
i32.and
i32.const 2
@ -708,8 +701,9 @@
tee_local $0
i32.load
get_global $std/array-literal/i
tee_local $1
i32.store offset=8
get_global $std/array-literal/i
get_local $1
i32.const 1
i32.add
set_global $std/array-literal/i
@ -718,8 +712,9 @@
i32.const 4
i32.add
get_global $std/array-literal/i
tee_local $1
i32.store offset=8
get_global $std/array-literal/i
get_local $1
i32.const 1
i32.add
set_global $std/array-literal/i
@ -757,7 +752,6 @@
else
unreachable
end
tee_local $0
if
i32.const 0
i32.const 32
@ -782,7 +776,6 @@
else
unreachable
end
tee_local $0
i32.const 1
i32.ne
if
@ -809,7 +802,6 @@
else
unreachable
end
tee_local $0
i32.const 2
i32.ne
if

File diff suppressed because it is too large Load Diff

View File

@ -334,15 +334,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
@ -434,14 +431,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
@ -451,14 +448,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
@ -468,21 +465,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
@ -1225,8 +1220,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -1293,7 +1286,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1339,7 +1331,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1454,7 +1445,6 @@
select
else
get_local $1
tee_local $4
get_local $3
get_local $1
get_local $3
@ -1477,14 +1467,12 @@
select
else
get_local $2
tee_local $4
get_local $3
get_local $2
get_local $3
i32.lt_s
select
end
tee_local $2
get_local $1
i32.sub
tee_local $4
@ -1498,7 +1486,6 @@
tee_local $3
i32.const 8
i32.add
tee_local $4
get_local $0
i32.const 8
i32.add

View File

@ -135,27 +135,28 @@
i32.const 0
call $~lib/allocator/arena/__memory_allocate
end
tee_local $0
set_global $std/constructor/ctorConditionallyReturns
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_global $std/constructor/ctorAllocates
i32.const 0
set_local $0
get_global $std/constructor/b
if
block (result i32)
get_global $std/constructor/b
if
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $0
end
get_local $0
i32.eqz
end
if (result i32)
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $0
else
get_local $0
end
get_local $0
i32.eqz
if
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $0
end
get_local $0
set_global $std/constructor/ctorConditionallyAllocates
)
(func $null (; 2 ;) (type $v)

View File

@ -460,21 +460,20 @@
(local $4 i32)
get_local $0
i32.load offset=8
set_local $4
set_local $3
get_local $1
i32.const 1073741816
i32.gt_u
tee_local $3
i32.eqz
if
tee_local $4
if (result i32)
get_local $4
else
get_local $1
i32.const 4
i32.add
get_local $4
get_local $3
i32.gt_s
set_local $3
end
get_local $3
if
i32.const 0
i32.const 136
@ -617,21 +616,20 @@
(local $4 i32)
get_local $0
i32.load offset=8
set_local $4
set_local $3
get_local $1
i32.const 1073741816
i32.gt_u
tee_local $3
i32.eqz
if
tee_local $4
if (result i32)
get_local $4
else
get_local $1
i32.const 2
i32.add
get_local $4
get_local $3
i32.gt_s
set_local $3
end
get_local $3
if
i32.const 0
i32.const 136
@ -650,8 +648,9 @@
i32.load16_s offset=8
set_local $0
get_local $2
i32.eqz
if
if (result i32)
get_local $0
else
get_local $0
i32.const 16
i32.shl
@ -663,30 +662,27 @@
i32.const 8
i32.shl
i32.or
set_local $0
end
get_local $0
)
(func $~lib/dataview/DataView#getInt32 (; 12 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
get_local $0
i32.load offset=8
set_local $4
set_local $3
get_local $1
i32.const 1073741816
i32.gt_u
tee_local $3
i32.eqz
if
tee_local $4
if (result i32)
get_local $4
else
get_local $1
i32.const 4
i32.add
get_local $4
get_local $3
i32.gt_s
set_local $3
end
get_local $3
if
i32.const 0
i32.const 136
@ -705,8 +701,9 @@
i32.load offset=8
set_local $0
get_local $2
i32.eqz
if
if (result i32)
get_local $0
else
get_local $0
i32.const -16711936
i32.and
@ -718,9 +715,7 @@
i32.const 8
i32.rotr
i32.or
set_local $0
end
get_local $0
)
(func $~lib/dataview/DataView#getInt64 (; 13 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64)
(local $2 i64)
@ -744,13 +739,12 @@
i64.load offset=8
set_local $2
get_local $1
i32.eqz
if
if (result i64)
get_local $2
else
get_local $2
call $~lib/polyfills/bswap<u64>
set_local $2
end
get_local $2
)
(func $~lib/dataview/DataView#getUint8 (; 14 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -794,21 +788,20 @@
(local $4 i32)
get_local $0
i32.load offset=8
set_local $4
set_local $3
get_local $1
i32.const 1073741816
i32.gt_u
tee_local $3
i32.eqz
if
tee_local $4
if (result i32)
get_local $4
else
get_local $1
i32.const 2
i32.add
get_local $4
get_local $3
i32.gt_s
set_local $3
end
get_local $3
if
i32.const 0
i32.const 136
@ -827,8 +820,9 @@
i32.load16_u offset=8
set_local $0
get_local $2
i32.eqz
if
if (result i32)
get_local $0
else
get_local $0
i32.const 8
i32.shl
@ -838,9 +832,7 @@
i32.const 8
i32.shr_u
i32.or
set_local $0
end
get_local $0
)
(func $~lib/dataview/DataView#setFloat32 (; 16 ;) (type $FUNCSIG$vifi) (param $0 i32) (param $1 f32) (param $2 i32)
(local $3 i32)
@ -1038,16 +1030,13 @@
get_local $0
i32.load offset=4
i32.add
set_local $0
get_local $2
i32.eqz
if
if (result i64)
get_local $1
else
get_local $1
call $~lib/polyfills/bswap<u64>
set_local $1
end
get_local $0
get_local $1
i64.store offset=8
)
(func $~lib/dataview/DataView#setUint16 (; 22 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
@ -1088,6 +1077,7 @@
i32.store16 offset=8
)
(func $start (; 23 ;) (type $v)
(local $0 i32)
i32.const 216
set_global $~lib/allocator/arena/startOffset
get_global $~lib/allocator/arena/startOffset
@ -1127,10 +1117,11 @@
i32.const 95
call $~lib/internal/typedarray/TypedArray<u8>#__set
get_global $std/dataview/array
tee_local $0
i32.load
get_global $std/dataview/array
get_local $0
i32.load offset=4
get_global $std/dataview/array
get_local $0
i32.load offset=8
call $~lib/dataview/DataView#constructor
set_global $std/dataview/view

View File

@ -183,15 +183,15 @@
unreachable
end
get_global $std/date/date
tee_local $0
get_global $std/date/creationTime
i64.const 1
i64.add
tee_local $1
i64.store
get_global $std/date/date
get_local $0
i64.load
get_global $std/date/creationTime
i64.const 1
i64.add
get_local $1
i64.ne
if
i32.const 0

View File

@ -238,10 +238,10 @@
call $~lib/allocator/arena/__memory_allocate
set_global $~lib/collector/itcm/fromSpace
get_global $~lib/collector/itcm/fromSpace
tee_local $0
i32.const -1
i32.store offset=8
get_global $~lib/collector/itcm/fromSpace
tee_local $0
get_local $0
get_local $0
i32.store
get_local $0
@ -251,10 +251,10 @@
call $~lib/allocator/arena/__memory_allocate
set_global $~lib/collector/itcm/toSpace
get_global $~lib/collector/itcm/toSpace
tee_local $0
i32.const -1
i32.store offset=8
get_global $~lib/collector/itcm/toSpace
tee_local $0
get_local $0
get_local $0
i32.store
get_local $0
@ -443,15 +443,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
@ -543,14 +540,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
@ -560,14 +557,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
@ -577,21 +574,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
@ -1334,8 +1329,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -1402,7 +1395,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1448,7 +1440,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1856,7 +1847,7 @@
i32.and
i32.eq
tee_local $0
if
if (result i32)
get_global $~lib/collector/itcm/white
get_local $1
i32.const 16
@ -1865,9 +1856,9 @@
i32.const 3
i32.and
i32.eq
set_local $0
else
get_local $0
end
get_local $0
if
get_local $2
call $~lib/collector/itcm/ManagedObject#makeGray

View File

@ -195,10 +195,10 @@
call $~lib/allocator/arena/__memory_allocate
set_global $~lib/collector/itcm/fromSpace
get_global $~lib/collector/itcm/fromSpace
tee_local $0
i32.const -1
i32.store offset=8
get_global $~lib/collector/itcm/fromSpace
tee_local $0
get_local $0
get_local $0
i32.store
get_local $0
@ -208,10 +208,10 @@
call $~lib/allocator/arena/__memory_allocate
set_global $~lib/collector/itcm/toSpace
get_global $~lib/collector/itcm/toSpace
tee_local $0
i32.const -1
i32.store offset=8
get_global $~lib/collector/itcm/toSpace
tee_local $0
get_local $0
get_local $0
i32.store
get_local $0
@ -398,36 +398,39 @@
call $~lib/collector/itcm/__gc_allocate
set_global $std/gc-basics/obj
get_global $std/gc-basics/obj
tee_local $0
i32.const 123
i32.store
get_global $std/gc-basics/obj
get_local $0
i32.const 16
i32.sub
tee_local $0
tee_local $1
i32.load offset=4
set_local $2
get_local $0
i32.load
i32.const -4
i32.and
tee_local $3
i32.const 0
i32.ne
tee_local $1
if
get_local $2
block (result i32)
get_local $1
i32.load
i32.const -4
i32.and
tee_local $3
i32.const 0
i32.ne
set_local $1
tee_local $0
if
get_local $2
i32.const 0
i32.ne
set_local $0
end
get_local $0
end
get_local $1
if
if (result i32)
get_local $2
get_local $3
i32.eq
set_local $1
else
get_local $0
end
get_local $1
i32.eqz
if
i32.const 0
@ -437,7 +440,7 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 1
i32.ne
@ -449,7 +452,7 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=12
if
i32.const 0
@ -459,7 +462,7 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=16
i32.const 123
i32.ne

View File

@ -187,10 +187,10 @@
call $~lib/allocator/arena/__memory_allocate
set_global $~lib/collector/itcm/fromSpace
get_global $~lib/collector/itcm/fromSpace
tee_local $0
i32.const -1
i32.store offset=8
get_global $~lib/collector/itcm/fromSpace
tee_local $0
get_local $0
get_local $0
i32.store
get_local $0
@ -200,10 +200,10 @@
call $~lib/allocator/arena/__memory_allocate
set_global $~lib/collector/itcm/toSpace
get_global $~lib/collector/itcm/toSpace
tee_local $0
i32.const -1
i32.store offset=8
get_global $~lib/collector/itcm/toSpace
tee_local $0
get_local $0
get_local $0
i32.store
get_local $0
@ -404,7 +404,8 @@
set_global $std/gc-object/obj
call $~lib/collector/itcm/__gc_collect
get_global $std/gc-object/obj
get_global $std/gc-object/obj
tee_local $0
get_local $0
i32.store
call $~lib/collector/itcm/__gc_collect
i32.const 0

File diff suppressed because it is too large Load Diff

View File

@ -640,7 +640,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<i8,i32>#rehash
end
get_local $0
@ -760,7 +759,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -770,9 +769,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -1300,7 +1299,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<u8,i32>#rehash
end
get_local $0
@ -1416,7 +1414,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -1426,9 +1424,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -2019,7 +2017,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<i16,i32>#rehash
end
get_local $0
@ -2098,7 +2095,6 @@
else
unreachable
end
tee_local $0
)
(func $~lib/map/Map<i16,i32>#delete (; 25 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -2158,7 +2154,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -2168,9 +2164,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -2726,7 +2722,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<u16,i32>#rehash
end
get_local $0
@ -2803,7 +2798,6 @@
else
unreachable
end
tee_local $0
)
(func $~lib/map/Map<u16,i32>#delete (; 31 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -2861,7 +2855,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -2871,9 +2865,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -3446,7 +3440,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<i32,i32>#rehash
end
get_local $0
@ -3509,7 +3502,6 @@
else
unreachable
end
tee_local $0
)
(func $~lib/map/Map<i32,i32>#delete (; 39 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -4527,7 +4519,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<i64,i32>#rehash
end
get_local $0
@ -4590,7 +4581,6 @@
else
unreachable
end
tee_local $0
)
(func $~lib/map/Map<i64,i32>#delete (; 50 ;) (type $iIi) (param $0 i32) (param $1 i64) (result i32)
(local $2 i32)
@ -5510,7 +5500,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<f32,i32>#rehash
end
get_local $0
@ -5574,7 +5563,6 @@
else
unreachable
end
tee_local $0
)
(func $~lib/map/Map<f32,i32>#delete (; 58 ;) (type $ifi) (param $0 i32) (param $1 f32) (result i32)
(local $2 i32)
@ -6170,7 +6158,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<f64,i32>#rehash
end
get_local $0
@ -6234,7 +6221,6 @@
else
unreachable
end
tee_local $0
)
(func $~lib/map/Map<f64,i32>#delete (; 65 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32)
(local $2 i32)

File diff suppressed because it is too large Load Diff

View File

@ -149,7 +149,7 @@
get_local $2
get_local $3
i64.ge_u
if
if (result i64)
get_local $2
get_local $3
i64.eq
@ -157,9 +157,9 @@
get_local $2
get_local $3
i64.sub
set_local $2
else
get_local $2
end
get_local $2
i64.const 1
i64.shl
set_local $2
@ -214,7 +214,6 @@
i64.add
i64.shr_u
end
tee_local $2
get_local $8
i64.const 63
i64.shl
@ -395,7 +394,7 @@
get_local $2
get_local $4
i32.ge_u
if
if (result i32)
get_local $2
get_local $4
i32.eq
@ -403,9 +402,9 @@
get_local $2
get_local $4
i32.sub
set_local $2
else
get_local $2
end
get_local $2
i32.const 1
i32.shl
set_local $2
@ -437,7 +436,6 @@
tee_local $5
i32.shl
set_local $2
get_local $8
get_local $3
get_local $5
i32.sub
@ -459,7 +457,7 @@
i32.sub
i32.shr_u
end
tee_local $2
get_local $8
i32.or
f32.reinterpret/i32
return

File diff suppressed because it is too large Load Diff

View File

@ -67,15 +67,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
@ -167,14 +164,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
@ -184,14 +181,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
@ -201,21 +198,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
@ -958,8 +953,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -984,16 +977,15 @@
get_local $0
i32.le_u
tee_local $3
i32.eqz
if
if (result i32)
get_local $3
else
get_local $0
i32.const 8
i32.add
get_local $1
i32.le_u
set_local $3
end
get_local $3
if
get_local $0
get_local $1
@ -1029,7 +1021,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1075,7 +1066,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1199,12 +1189,13 @@
unreachable
end
get_global $std/pointer/one
tee_local $0
i32.const 1
i32.store
get_global $std/pointer/one
get_local $0
i32.const 2
i32.store offset=4
get_global $std/pointer/one
get_local $0
i32.load
i32.const 1
i32.ne
@ -1274,9 +1265,10 @@
i32.add
set_global $std/pointer/one
get_global $std/pointer/one
tee_local $0
set_global $std/pointer/nextOne
get_global $std/pointer/nextOne
get_global $std/pointer/one
get_local $0
i32.ne
if
i32.const 0
@ -1485,11 +1477,12 @@
unreachable
end
get_global $std/pointer/buf
tee_local $0
i32.const 8
i32.add
f32.const 1.2999999523162842
f32.store
get_global $std/pointer/buf
get_local $0
i32.const 8
i32.add
f32.load

View File

@ -633,7 +633,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<i8>#rehash
end
get_local $0
@ -729,7 +728,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -739,9 +738,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -1162,7 +1161,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<u8>#rehash
end
get_local $0
@ -1256,7 +1254,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -1266,9 +1264,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -1766,7 +1764,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<i16>#rehash
end
get_local $0
@ -1871,7 +1868,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -1881,9 +1878,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -2332,7 +2329,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<u16>#rehash
end
get_local $0
@ -2435,7 +2431,7 @@
select
i32.ge_u
tee_local $1
if
if (result i32)
get_local $0
i32.load offset=20
get_local $0
@ -2445,9 +2441,9 @@
f64.mul
i32.trunc_s/f64
i32.lt_s
set_local $1
else
get_local $1
end
get_local $1
if
get_local $0
get_local $2
@ -2929,7 +2925,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<i32>#rehash
end
get_local $0
@ -3844,7 +3839,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<i64>#rehash
end
get_local $0
@ -4648,7 +4642,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<f32>#rehash
end
get_local $0
@ -5206,7 +5199,6 @@
i32.const 1
i32.or
end
tee_local $2
call $~lib/set/Set<f64>#rehash
end
get_local $0

View File

@ -122,15 +122,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
@ -222,14 +219,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
@ -239,14 +236,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
@ -256,21 +253,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
@ -1013,8 +1008,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -1081,7 +1074,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1127,7 +1119,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1654,7 +1645,6 @@
else
unreachable
end
tee_local $0
i32.const 1
i32.ne
if
@ -1681,7 +1671,6 @@
else
unreachable
end
tee_local $0
i32.const 2
i32.ne
if
@ -1707,7 +1696,6 @@
else
unreachable
end
tee_local $0
i32.const 2
i32.ne
if

View File

@ -423,15 +423,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
@ -523,14 +520,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
@ -540,14 +537,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
@ -557,21 +554,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
@ -1314,8 +1309,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -1382,7 +1375,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1428,7 +1420,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -1539,7 +1530,7 @@
i32.const 1
i32.shl
call $~lib/allocator/arena/__memory_allocate
set_local $6
set_local $5
loop $continue|0
get_local $2
get_local $1
@ -1557,27 +1548,24 @@
tee_local $3
i32.const 128
i32.lt_u
if (result i32)
if
get_local $4
get_local $6
get_local $5
i32.add
get_local $3
i32.store16
get_local $4
i32.const 2
i32.add
else
get_local $3
i32.const 191
i32.gt_u
tee_local $5
if
tee_local $6
if (result i32)
get_local $3
i32.const 224
i32.lt_u
set_local $5
else
get_local $6
end
get_local $5
if
get_local $2
i32.const 1
@ -1593,15 +1581,15 @@
unreachable
end
get_local $2
tee_local $5
tee_local $6
i32.const 1
i32.add
set_local $2
get_local $4
get_local $6
get_local $5
i32.add
get_local $0
get_local $5
get_local $6
i32.add
i32.load8_u
i32.const 63
@ -1617,14 +1605,14 @@
get_local $3
i32.const 239
i32.gt_u
tee_local $5
if
tee_local $6
if (result i32)
get_local $3
i32.const 365
i32.lt_u
set_local $5
else
get_local $6
end
get_local $5
if
get_local $2
i32.const 3
@ -1640,16 +1628,15 @@
unreachable
end
get_local $4
get_local $6
get_local $5
i32.add
get_local $3
i32.const 7
i32.and
i32.const 18
i32.shl
get_local $2
tee_local $5
get_local $0
get_local $2
i32.add
i32.load8_u
i32.const 63
@ -1669,7 +1656,6 @@
i32.const 6
i32.shl
i32.or
tee_local $3
get_local $2
i32.const 1
i32.add
@ -1688,7 +1674,7 @@
i32.const 55296
i32.add
i32.store16
get_local $6
get_local $5
get_local $4
i32.const 2
i32.add
@ -1715,16 +1701,15 @@
unreachable
end
get_local $4
get_local $6
get_local $5
i32.add
get_local $3
i32.const 15
i32.and
i32.const 12
i32.shl
get_local $2
tee_local $5
get_local $0
get_local $2
i32.add
i32.load8_u
i32.const 63
@ -1732,7 +1717,6 @@
i32.const 6
i32.shl
i32.or
tee_local $3
get_local $2
i32.const 1
i32.add
@ -1750,10 +1734,10 @@
i32.add
set_local $2
end
get_local $4
i32.const 2
i32.add
end
get_local $4
i32.const 2
i32.add
set_local $4
br $continue|0
end
@ -1776,39 +1760,35 @@
tee_local $0
i32.const 4
i32.add
get_local $6
get_local $5
get_local $4
call $~lib/internal/memory/memmove
get_local $0
)
(func $~lib/internal/string/compareUnsafe (; 8 ;) (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
@ -1816,7 +1796,7 @@
br $continue|0
end
end
get_local $4
get_local $3
)
(func $~lib/string/String.__eq (; 9 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)

File diff suppressed because it is too large Load Diff

View File

@ -480,32 +480,28 @@
)
(func $~lib/internal/string/compareUnsafe (; 8 ;) (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
@ -513,7 +509,7 @@
br $continue|0
end
end
get_local $4
get_local $3
)
(func $~lib/string/String.__eq (; 9 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
@ -747,7 +743,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<String,usize>#rehash
end
get_local $0
@ -1021,7 +1016,6 @@
i32.const 1
i32.or
end
tee_local $3
call $~lib/map/Map<usize,String>#rehash
end
get_local $0
@ -1093,7 +1087,6 @@
else
unreachable
end
tee_local $0
return
end
else
@ -1144,7 +1137,6 @@
else
unreachable
end
tee_local $0
)
(func $~lib/symbol/Symbol.keyFor (; 20 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
@ -1166,7 +1158,6 @@
else
i32.const 0
end
tee_local $0
)
(func $~lib/internal/string/allocateUnsafe (; 21 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
@ -1206,15 +1197,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
@ -1306,14 +1294,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
@ -1323,14 +1311,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
@ -1340,21 +1328,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
@ -2097,8 +2083,6 @@
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
@ -2165,7 +2149,6 @@
set_local $2
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -2211,7 +2194,6 @@
if
get_local $0
tee_local $4
tee_local $3
i32.const 1
i32.add
set_local $0
@ -2335,16 +2317,14 @@
call $~lib/env/abort
unreachable
end
get_local $1
i32.eqz
if
i32.const 488
set_local $1
end
get_local $0
i32.load
tee_local $3
get_local $1
i32.const 488
get_local $1
select
tee_local $1
i32.load
tee_local $4
i32.add
@ -2370,12 +2350,9 @@
)
(func $~lib/string/String.__concat (; 26 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
get_local $0
i32.eqz
if
i32.const 488
set_local $0
end
i32.const 488
get_local $0
select
get_local $1
call $~lib/string/String#concat
)
@ -2383,8 +2360,9 @@
(local $1 i32)
(local $2 i32)
i32.const 168
set_local $1
block $break|0
set_local $2
i32.const 464
block $break|0 (result i32)
block $case11|0
block $case10|0
block $case9|0
@ -2397,79 +2375,67 @@
block $case2|0
block $case1|0
get_local $0
tee_local $2
tee_local $1
i32.const 1
i32.ne
if
get_local $2
get_local $1
i32.const 2
i32.sub
br_table $case1|0 $case2|0 $case3|0 $case4|0 $case5|0 $case6|0 $case7|0 $case8|0 $case9|0 $case10|0 $case11|0
end
i32.const 176
set_local $1
br $break|0
end
i32.const 208
set_local $1
br $break|0
end
i32.const 248
set_local $1
br $break|0
end
i32.const 272
set_local $1
br $break|0
end
i32.const 288
set_local $1
br $break|0
end
i32.const 312
set_local $1
br $break|0
end
i32.const 328
set_local $1
br $break|0
end
i32.const 352
set_local $1
br $break|0
end
i32.const 368
set_local $1
br $break|0
end
i32.const 400
set_local $1
br $break|0
end
i32.const 432
set_local $1
br $break|0
end
get_global $~lib/symbol/idToString
i32.const 0
i32.ne
tee_local $2
tee_local $1
if
get_global $~lib/symbol/idToString
get_local $0
call $~lib/map/Map<usize,String>#has
set_local $2
set_local $1
end
get_local $2
if
get_local $1
if (result i32)
get_global $~lib/symbol/idToString
get_local $0
call $~lib/map/Map<usize,String>#get
set_local $1
else
i32.const 168
end
end
i32.const 464
get_local $1
call $~lib/string/String.__concat
i32.const 592
call $~lib/string/String.__concat

View File

@ -1178,42 +1178,42 @@
get_local $1
i32.lt_s
select
set_local $2
set_local $3
i32.const 6
get_local $1
i32.const 6
get_local $1
i32.lt_s
select
tee_local $1
get_local $2
get_local $1
tee_local $2
get_local $3
get_local $2
get_local $3
i32.gt_s
select
set_local $3
set_local $1
i32.const 12
call $~lib/allocator/arena/__memory_allocate
tee_local $1
tee_local $2
get_local $0
i32.load
i32.store
get_local $1
get_local $2
get_local $0
i32.load offset=4
get_local $2
get_local $3
i32.const 3
i32.shl
i32.add
i32.store offset=4
get_local $2
get_local $1
get_local $3
get_local $2
i32.sub
i32.const 3
i32.shl
i32.store offset=8
get_local $1
get_local $2
)
(func $~lib/internal/sort/insertionSort<f64> (; 14 ;) (type $iiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
(local $4 i32)
@ -1817,7 +1817,6 @@
select
else
get_local $2
tee_local $5
get_local $4
get_local $2
get_local $4
@ -1840,7 +1839,6 @@
select
else
get_local $3
tee_local $5
get_local $4
get_local $3
get_local $4
@ -1902,10 +1900,10 @@
end
get_local $0
i32.load offset=8
set_local $4
set_local $3
loop $repeat|0
get_local $2
get_local $4
get_local $3
i32.lt_s
if
get_local $0
@ -1916,18 +1914,17 @@
get_local $2
get_local $1
i32.load
tee_local $3
tee_local $4
i32.load
i32.lt_u
if (result i32)
get_local $2
get_local $3
get_local $4
i32.add
i32.load8_s offset=8
else
unreachable
end
tee_local $3
i32.const 255
i32.and
i32.ne
@ -2061,7 +2058,6 @@
select
else
get_local $2
tee_local $5
get_local $4
get_local $2
get_local $4
@ -2084,7 +2080,6 @@
select
else
get_local $3
tee_local $5
get_local $4
get_local $3
get_local $4
@ -2135,10 +2130,10 @@
i32.load offset=8
i32.const 2
i32.shr_u
set_local $4
set_local $3
loop $repeat|0
get_local $2
get_local $4
get_local $3
i32.lt_s
if
get_local $0
@ -2147,7 +2142,7 @@
get_local $2
get_local $1
i32.load
tee_local $3
tee_local $4
i32.load
i32.const 2
i32.shr_u
@ -2156,13 +2151,12 @@
get_local $2
i32.const 2
i32.shl
get_local $3
get_local $4
i32.add
i32.load offset=8
else
unreachable
end
tee_local $3
i32.ne
if
i32.const 0
@ -5256,39 +5250,43 @@
get_local $0
call $~lib/typedarray/Float64Array#sort
drop
get_global $std/typedarray/af64
i32.const 0
call $~lib/internal/typedarray/TypedArray<f64>#__get
f64.const 4
f64.eq
tee_local $0
if
get_global $std/typedarray/af64
i32.const 1
call $~lib/internal/typedarray/TypedArray<f64>#__get
f64.const 5
f64.eq
set_local $0
block (result i32)
block (result i32)
get_global $std/typedarray/af64
i32.const 0
call $~lib/internal/typedarray/TypedArray<f64>#__get
f64.const 4
f64.eq
tee_local $0
if
get_global $std/typedarray/af64
i32.const 1
call $~lib/internal/typedarray/TypedArray<f64>#__get
f64.const 5
f64.eq
set_local $0
end
get_local $0
end
if
get_global $std/typedarray/af64
i32.const 2
call $~lib/internal/typedarray/TypedArray<f64>#__get
f64.const 6
f64.eq
set_local $0
end
get_local $0
end
get_local $0
if
get_global $std/typedarray/af64
i32.const 2
call $~lib/internal/typedarray/TypedArray<f64>#__get
f64.const 6
f64.eq
set_local $0
end
get_local $0
if
if (result i32)
get_global $std/typedarray/af64
i32.const 3
call $~lib/internal/typedarray/TypedArray<f64>#__get
f64.const 7
f64.eq
set_local $0
else
get_local $0
end
get_local $0
i32.eqz
if
i32.const 0

View File

@ -11,10 +11,10 @@
(export "table" (table $0))
(start $start)
(func $start (; 0 ;) (type $v)
(local $0 i32)
(local $1 i64)
(local $2 f32)
(local $3 f64)
(local $0 f32)
(local $1 f64)
(local $2 i32)
(local $3 i64)
get_global $unary/i
i32.const 1
i32.add
@ -59,18 +59,18 @@
i32.sub
set_global $unary/i
get_global $unary/i
tee_local $0
tee_local $2
i32.const 1
i32.add
set_global $unary/i
get_local $0
get_local $2
set_global $unary/i
get_global $unary/i
tee_local $0
tee_local $2
i32.const 1
i32.sub
set_global $unary/i
get_local $0
get_local $2
set_global $unary/i
get_global $unary/I
i64.const 1
@ -117,18 +117,18 @@
i64.sub
set_global $unary/I
get_global $unary/I
tee_local $1
tee_local $3
i64.const 1
i64.add
set_global $unary/I
get_local $1
get_local $3
set_global $unary/I
get_global $unary/I
tee_local $1
tee_local $3
i64.const 1
i64.sub
set_global $unary/I
get_local $1
get_local $3
set_global $unary/I
get_global $unary/f
f32.const 1
@ -156,10 +156,11 @@
f32.neg
set_global $unary/f
get_global $unary/f
tee_local $0
f32.const 0
f32.eq
set_global $unary/i
get_global $unary/f
get_local $0
f32.const 1
f32.add
set_global $unary/f
@ -168,18 +169,18 @@
f32.sub
set_global $unary/f
get_global $unary/f
tee_local $2
tee_local $0
f32.const 1
f32.add
set_global $unary/f
get_local $2
get_local $0
set_global $unary/f
get_global $unary/f
tee_local $2
tee_local $0
f32.const 1
f32.sub
set_global $unary/f
get_local $2
get_local $0
set_global $unary/f
get_global $unary/F
f64.const 1
@ -207,11 +208,12 @@
f64.neg
set_global $unary/F
get_global $unary/F
tee_local $1
f64.const 0
f64.eq
i64.extend_u/i32
set_global $unary/I
get_global $unary/F
get_local $1
f64.const 1
f64.add
set_global $unary/F
@ -220,18 +222,18 @@
f64.sub
set_global $unary/F
get_global $unary/F
tee_local $3
tee_local $1
f64.const 1
f64.add
set_global $unary/F
get_local $3
get_local $1
set_global $unary/F
get_global $unary/F
tee_local $3
tee_local $1
f64.const 1
f64.sub
set_global $unary/F
get_local $3
get_local $1
set_global $unary/F
)
(func $null (; 1 ;) (type $v)