mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-14 23:41:30 +00:00
Update Binaryen to latest nightly
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -319,7 +319,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/polyfills/bswap<u64> (; 7 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64)
|
||||
(local $1 i64)
|
||||
local.get $0
|
||||
i64.const 8
|
||||
i64.shr_u
|
||||
@ -331,12 +330,12 @@
|
||||
i64.const 8
|
||||
i64.shl
|
||||
i64.or
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i64.const 16
|
||||
i64.shr_u
|
||||
i64.const 281470681808895
|
||||
i64.and
|
||||
local.get $1
|
||||
local.get $0
|
||||
i64.const 281470681808895
|
||||
i64.and
|
||||
i64.const 16
|
||||
@ -643,7 +642,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/dataview/DataView#setFloat32 (; 15 ;) (type $FUNCSIG$vifi) (param $0 i32) (param $1 f32) (param $2 i32)
|
||||
(local $3 i32)
|
||||
i32.const 4
|
||||
local.get $0
|
||||
i32.load offset=8
|
||||
@ -673,12 +671,12 @@
|
||||
i32.add
|
||||
local.get $1
|
||||
i32.reinterpret_f32
|
||||
local.tee $3
|
||||
local.tee $0
|
||||
i32.const -16711936
|
||||
i32.and
|
||||
i32.const 8
|
||||
i32.rotl
|
||||
local.get $3
|
||||
local.get $0
|
||||
i32.const 16711935
|
||||
i32.and
|
||||
i32.const 8
|
||||
|
@ -106,20 +106,19 @@
|
||||
i32.store
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_mark (; 4 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
if
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.sub
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 3
|
||||
i32.and
|
||||
i32.eq
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObject#makeGray
|
||||
end
|
||||
end
|
||||
@ -379,7 +378,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_allocate (; 10 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
i32.const 1073741808
|
||||
i32.gt_u
|
||||
@ -391,21 +389,21 @@
|
||||
i32.const 16
|
||||
i32.add
|
||||
call $~lib/allocator/arena/__memory_allocate
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
local.get $1
|
||||
i32.store offset=8
|
||||
local.get $2
|
||||
local.get $0
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.load
|
||||
i32.const -4
|
||||
i32.and
|
||||
i32.or
|
||||
i32.store
|
||||
global.get $~lib/collector/itcm/fromSpace
|
||||
local.get $2
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObjectList#push
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.add
|
||||
)
|
||||
|
@ -158,20 +158,19 @@
|
||||
i32.store
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_mark (; 5 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
if
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.sub
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 3
|
||||
i32.and
|
||||
i32.eq
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObject#makeGray
|
||||
end
|
||||
end
|
||||
|
@ -152,20 +152,19 @@
|
||||
i32.store
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_mark (; 3 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
if
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.sub
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 3
|
||||
i32.and
|
||||
i32.eq
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObject#makeGray
|
||||
end
|
||||
end
|
||||
@ -304,7 +303,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_allocate (; 5 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
i32.const 1073741808
|
||||
i32.gt_u
|
||||
@ -316,21 +314,21 @@
|
||||
i32.const 16
|
||||
i32.add
|
||||
call $~lib/allocator/arena/__memory_allocate
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
local.get $1
|
||||
i32.store offset=8
|
||||
local.get $2
|
||||
local.get $0
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.load
|
||||
i32.const -4
|
||||
i32.and
|
||||
i32.or
|
||||
i32.store
|
||||
global.get $~lib/collector/itcm/fromSpace
|
||||
local.get $2
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObjectList#push
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.add
|
||||
)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1805,7 +1805,6 @@
|
||||
i32.const 0
|
||||
)
|
||||
(func $~lib/map/Map<i16,i32>#has (; 21 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
@ -1813,14 +1812,14 @@
|
||||
i32.shl
|
||||
i32.const 16
|
||||
i32.shr_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
@ -2510,20 +2509,19 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/map/Map<u16,i32>#has (; 27 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
i32.and
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -224,50 +224,49 @@
|
||||
(local $3 f64)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 f64)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
(local $8 f64)
|
||||
(local $9 i32)
|
||||
(local $10 f64)
|
||||
(local $9 f64)
|
||||
(local $10 i32)
|
||||
(local $11 i32)
|
||||
(local $12 i32)
|
||||
(local $13 i32)
|
||||
(local $14 f64)
|
||||
(local $15 i32)
|
||||
(local $15 f64)
|
||||
(local $16 f64)
|
||||
(local $17 i64)
|
||||
(local $18 i32)
|
||||
(local $19 f64)
|
||||
(local $17 f64)
|
||||
(local $18 i64)
|
||||
(local $19 i32)
|
||||
(local $20 i32)
|
||||
(local $21 i32)
|
||||
local.get $0
|
||||
i64.reinterpret_f64
|
||||
local.tee $17
|
||||
local.tee $18
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.set $18
|
||||
local.get $17
|
||||
local.set $19
|
||||
local.get $18
|
||||
i32.wrap_i64
|
||||
local.set $20
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
local.set $5
|
||||
local.get $1
|
||||
i64.reinterpret_f64
|
||||
local.tee $17
|
||||
local.tee $18
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.tee $13
|
||||
local.tee $12
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
local.set $11
|
||||
local.get $11
|
||||
local.get $17
|
||||
local.set $10
|
||||
local.get $10
|
||||
local.get $18
|
||||
i32.wrap_i64
|
||||
local.tee $21
|
||||
local.tee $6
|
||||
i32.or
|
||||
i32.eqz
|
||||
if
|
||||
@ -294,7 +293,7 @@
|
||||
local.get $4
|
||||
i32.eqz
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 2146435072
|
||||
i32.gt_s
|
||||
local.set $4
|
||||
@ -302,12 +301,12 @@
|
||||
local.get $4
|
||||
i32.eqz
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 2146435072
|
||||
i32.eq
|
||||
local.tee $4
|
||||
if
|
||||
local.get $21
|
||||
local.get $6
|
||||
i32.const 0
|
||||
i32.ne
|
||||
local.set $4
|
||||
@ -320,64 +319,65 @@
|
||||
f64.add
|
||||
return
|
||||
end
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1128267776
|
||||
i32.ge_s
|
||||
if (result i32)
|
||||
i32.const 2
|
||||
else
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1072693248
|
||||
i32.ge_s
|
||||
if (result i32)
|
||||
local.get $21
|
||||
local.get $11
|
||||
local.get $11
|
||||
local.get $6
|
||||
local.get $10
|
||||
local.get $10
|
||||
i32.const 20
|
||||
i32.shr_s
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
local.tee $12
|
||||
local.tee $11
|
||||
i32.const 20
|
||||
i32.gt_s
|
||||
local.tee $4
|
||||
select
|
||||
local.tee $7
|
||||
local.get $7
|
||||
i32.const 52
|
||||
i32.const 20
|
||||
local.get $4
|
||||
select
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.sub
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.shr_s
|
||||
local.set $4
|
||||
i32.const 2
|
||||
local.get $4
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.sub
|
||||
i32.const 0
|
||||
local.get $4
|
||||
local.get $9
|
||||
i32.shl
|
||||
local.tee $4
|
||||
local.get $7
|
||||
i32.shl
|
||||
i32.eq
|
||||
select
|
||||
if (result i32)
|
||||
i32.const 2
|
||||
local.get $4
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.sub
|
||||
else
|
||||
i32.const 0
|
||||
end
|
||||
else
|
||||
i32.const 0
|
||||
end
|
||||
end
|
||||
local.set $15
|
||||
local.set $13
|
||||
end
|
||||
local.get $21
|
||||
local.get $6
|
||||
i32.eqz
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 2146435072
|
||||
i32.eq
|
||||
if
|
||||
@ -391,7 +391,7 @@
|
||||
i32.const 1072693248
|
||||
i32.ge_s
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -404,7 +404,7 @@
|
||||
f64.const 0
|
||||
local.get $1
|
||||
f64.neg
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.ge_s
|
||||
select
|
||||
@ -417,11 +417,11 @@
|
||||
end
|
||||
unreachable
|
||||
end
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1072693248
|
||||
i32.eq
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.ge_s
|
||||
if
|
||||
@ -433,7 +433,7 @@
|
||||
f64.div
|
||||
return
|
||||
end
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 1073741824
|
||||
i32.eq
|
||||
if
|
||||
@ -442,11 +442,11 @@
|
||||
f64.mul
|
||||
return
|
||||
end
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 1071644672
|
||||
i32.eq
|
||||
if
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.ge_s
|
||||
if
|
||||
@ -486,25 +486,25 @@
|
||||
local.get $2
|
||||
f64.div
|
||||
local.get $2
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
select
|
||||
local.set $2
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if (result f64)
|
||||
local.get $5
|
||||
i32.const 1072693248
|
||||
i32.sub
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.or
|
||||
if (result f64)
|
||||
local.get $2
|
||||
f64.neg
|
||||
local.get $2
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.const 1
|
||||
i32.eq
|
||||
select
|
||||
@ -523,12 +523,12 @@
|
||||
end
|
||||
end
|
||||
f64.const 1
|
||||
local.set $10
|
||||
local.get $18
|
||||
local.set $9
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.eqz
|
||||
if
|
||||
local.get $0
|
||||
@ -541,17 +541,17 @@
|
||||
end
|
||||
f64.const -1
|
||||
f64.const 1
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.const 1
|
||||
i32.eq
|
||||
select
|
||||
local.set $10
|
||||
local.set $9
|
||||
end
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1105199104
|
||||
i32.gt_s
|
||||
if (result f64)
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1139802112
|
||||
i32.gt_s
|
||||
if
|
||||
@ -561,7 +561,7 @@
|
||||
if
|
||||
f64.const inf
|
||||
f64.const 0
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
select
|
||||
@ -573,7 +573,7 @@
|
||||
if
|
||||
f64.const inf
|
||||
f64.const 0
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.gt_s
|
||||
select
|
||||
@ -584,17 +584,17 @@
|
||||
i32.const 1072693247
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if (result f64)
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
else
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1e-300
|
||||
f64.mul
|
||||
f64.const 1e-300
|
||||
@ -606,17 +606,17 @@
|
||||
i32.const 1072693248
|
||||
i32.gt_s
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.gt_s
|
||||
if (result f64)
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
else
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1e-300
|
||||
f64.mul
|
||||
f64.const 1e-300
|
||||
@ -644,7 +644,7 @@
|
||||
f64.const 1.4426950216293335
|
||||
local.get $3
|
||||
f64.mul
|
||||
local.tee $16
|
||||
local.tee $15
|
||||
local.get $3
|
||||
f64.const 1.9259629911266175e-08
|
||||
f64.mul
|
||||
@ -652,22 +652,21 @@
|
||||
f64.const 1.4426950408889634
|
||||
f64.mul
|
||||
f64.sub
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.add
|
||||
local.set $8
|
||||
local.get $6
|
||||
local.get $8
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.set $8
|
||||
local.get $16
|
||||
local.get $8
|
||||
local.get $15
|
||||
f64.sub
|
||||
f64.sub
|
||||
else
|
||||
i32.const 0
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $5
|
||||
i32.const 1048576
|
||||
i32.lt_s
|
||||
@ -691,30 +690,30 @@
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
i32.add
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $5
|
||||
i32.const 1048575
|
||||
i32.and
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.const 1072693248
|
||||
i32.or
|
||||
local.set $5
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 235662
|
||||
i32.le_s
|
||||
if (result i32)
|
||||
i32.const 0
|
||||
else
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 767610
|
||||
i32.lt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
else
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $5
|
||||
i32.const -1048576
|
||||
i32.add
|
||||
@ -722,7 +721,7 @@
|
||||
i32.const 0
|
||||
end
|
||||
end
|
||||
local.set $12
|
||||
local.set $11
|
||||
local.get $2
|
||||
i64.reinterpret_f64
|
||||
i64.const 4294967295
|
||||
@ -736,19 +735,24 @@
|
||||
local.tee $2
|
||||
f64.const 1.5
|
||||
f64.const 1
|
||||
local.get $12
|
||||
local.get $11
|
||||
select
|
||||
local.tee $0
|
||||
f64.sub
|
||||
local.tee $16
|
||||
local.tee $15
|
||||
f64.const 1
|
||||
local.get $2
|
||||
local.get $0
|
||||
f64.add
|
||||
f64.div
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.mul
|
||||
local.set $14
|
||||
local.tee $14
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.get $5
|
||||
i32.const 1
|
||||
@ -757,7 +761,7 @@
|
||||
i32.or
|
||||
i32.const 524288
|
||||
i32.add
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.const 18
|
||||
i32.shl
|
||||
i32.add
|
||||
@ -765,11 +769,11 @@
|
||||
i64.const 32
|
||||
i64.shl
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.tee $17
|
||||
local.get $0
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.set $2
|
||||
local.set $0
|
||||
local.get $14
|
||||
local.get $14
|
||||
f64.mul
|
||||
@ -798,119 +802,104 @@
|
||||
f64.mul
|
||||
f64.add
|
||||
f64.mul
|
||||
local.set $19
|
||||
local.get $6
|
||||
local.get $16
|
||||
local.get $14
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $6
|
||||
local.set $2
|
||||
f64.const 0.9617967009544373
|
||||
local.get $8
|
||||
f64.mul
|
||||
f64.sub
|
||||
local.get $6
|
||||
local.get $2
|
||||
f64.mul
|
||||
f64.sub
|
||||
f64.mul
|
||||
local.set $0
|
||||
f64.const 3
|
||||
local.get $6
|
||||
local.get $6
|
||||
local.get $8
|
||||
local.get $8
|
||||
f64.mul
|
||||
local.tee $3
|
||||
f64.add
|
||||
local.get $19
|
||||
local.get $2
|
||||
local.get $16
|
||||
local.get $15
|
||||
local.get $8
|
||||
local.get $17
|
||||
f64.mul
|
||||
f64.sub
|
||||
local.get $8
|
||||
local.get $0
|
||||
local.get $6
|
||||
f64.mul
|
||||
f64.sub
|
||||
f64.mul
|
||||
local.tee $0
|
||||
local.get $8
|
||||
local.get $14
|
||||
f64.add
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $19
|
||||
local.tee $2
|
||||
f64.add
|
||||
local.set $8
|
||||
local.get $19
|
||||
local.get $8
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.tee $17
|
||||
f64.mul
|
||||
local.tee $15
|
||||
local.get $0
|
||||
local.get $17
|
||||
f64.mul
|
||||
local.get $2
|
||||
local.get $17
|
||||
f64.const 3
|
||||
f64.sub
|
||||
local.get $3
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.set $2
|
||||
local.get $6
|
||||
local.get $8
|
||||
f64.mul
|
||||
local.tee $16
|
||||
local.get $0
|
||||
local.get $8
|
||||
f64.mul
|
||||
local.get $2
|
||||
local.get $14
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.add
|
||||
local.set $0
|
||||
local.get $6
|
||||
local.get $0
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $0
|
||||
local.get $16
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.set $6
|
||||
f64.const 0.9617967009544373
|
||||
local.get $0
|
||||
f64.mul
|
||||
local.tee $19
|
||||
local.tee $17
|
||||
f64.const -7.028461650952758e-09
|
||||
local.get $0
|
||||
f64.mul
|
||||
local.get $6
|
||||
local.get $16
|
||||
local.get $0
|
||||
local.get $15
|
||||
f64.sub
|
||||
f64.sub
|
||||
f64.const 0.9617966939259756
|
||||
f64.mul
|
||||
f64.add
|
||||
f64.const 1.350039202129749e-08
|
||||
f64.const 0
|
||||
local.get $12
|
||||
local.get $11
|
||||
select
|
||||
f64.add
|
||||
local.tee $2
|
||||
f64.add
|
||||
f64.const 0.5849624872207642
|
||||
f64.const 0
|
||||
local.get $12
|
||||
local.get $11
|
||||
select
|
||||
local.tee $0
|
||||
f64.add
|
||||
local.get $7
|
||||
local.get $6
|
||||
f64.convert_i32_s
|
||||
local.tee $3
|
||||
f64.add
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.get $8
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.get $8
|
||||
local.get $3
|
||||
f64.sub
|
||||
local.get $0
|
||||
f64.sub
|
||||
local.get $19
|
||||
local.get $17
|
||||
f64.sub
|
||||
f64.sub
|
||||
end
|
||||
@ -929,7 +918,7 @@
|
||||
local.get $2
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $6
|
||||
local.tee $1
|
||||
local.get $0
|
||||
local.get $8
|
||||
f64.mul
|
||||
@ -937,26 +926,26 @@
|
||||
f64.add
|
||||
local.tee $2
|
||||
i64.reinterpret_f64
|
||||
local.tee $17
|
||||
local.tee $18
|
||||
i32.wrap_i64
|
||||
local.set $4
|
||||
block $folding-inner1
|
||||
block $folding-inner0
|
||||
local.get $17
|
||||
local.get $18
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.const 1083179008
|
||||
i32.ge_s
|
||||
if
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 1083179008
|
||||
i32.sub
|
||||
local.get $4
|
||||
i32.or
|
||||
br_if $folding-inner0
|
||||
local.get $6
|
||||
local.get $1
|
||||
f64.const 8.008566259537294e-17
|
||||
f64.add
|
||||
local.get $2
|
||||
@ -965,19 +954,19 @@
|
||||
f64.gt
|
||||
br_if $folding-inner0
|
||||
else
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
i32.const 1083231232
|
||||
i32.ge_s
|
||||
if
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const -1064252416
|
||||
i32.sub
|
||||
local.get $4
|
||||
i32.or
|
||||
br_if $folding-inner1
|
||||
local.get $6
|
||||
local.get $1
|
||||
local.get $2
|
||||
local.get $0
|
||||
f64.sub
|
||||
@ -985,7 +974,7 @@
|
||||
br_if $folding-inner1
|
||||
end
|
||||
end
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
local.tee $4
|
||||
@ -993,65 +982,65 @@
|
||||
i32.shr_s
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
local.set $12
|
||||
local.set $11
|
||||
i32.const 0
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $4
|
||||
i32.const 1071644672
|
||||
i32.gt_s
|
||||
if
|
||||
i32.const 1048576
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.const 1
|
||||
i32.add
|
||||
i32.shr_s
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.add
|
||||
local.tee $7
|
||||
local.tee $6
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
i32.const 20
|
||||
i32.shr_s
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
local.set $12
|
||||
local.set $11
|
||||
i32.const 1048575
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.shr_s
|
||||
i32.const -1
|
||||
i32.xor
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.and
|
||||
i64.extend_i32_s
|
||||
i64.const 32
|
||||
i64.shl
|
||||
f64.reinterpret_i64
|
||||
local.set $3
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 1048575
|
||||
i32.and
|
||||
i32.const 1048576
|
||||
i32.or
|
||||
i32.const 20
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.sub
|
||||
i32.shr_s
|
||||
local.set $7
|
||||
local.set $6
|
||||
i32.const 0
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.sub
|
||||
local.get $6
|
||||
local.get $7
|
||||
local.get $9
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
select
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $0
|
||||
local.get $3
|
||||
f64.sub
|
||||
local.set $0
|
||||
end
|
||||
local.get $6
|
||||
local.get $1
|
||||
local.get $0
|
||||
f64.add
|
||||
i64.reinterpret_f64
|
||||
@ -1061,8 +1050,8 @@
|
||||
local.tee $3
|
||||
f64.const 0.6931471824645996
|
||||
f64.mul
|
||||
local.tee $16
|
||||
local.get $6
|
||||
local.tee $15
|
||||
local.get $1
|
||||
local.get $3
|
||||
local.get $0
|
||||
f64.sub
|
||||
@ -1073,13 +1062,13 @@
|
||||
f64.const -1.904654299957768e-09
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.add
|
||||
local.tee $2
|
||||
local.get $2
|
||||
f64.mul
|
||||
local.set $3
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1
|
||||
local.get $2
|
||||
local.get $2
|
||||
@ -1109,9 +1098,9 @@
|
||||
f64.const 2
|
||||
f64.sub
|
||||
f64.div
|
||||
local.get $6
|
||||
local.get $2
|
||||
local.get $16
|
||||
local.get $2
|
||||
local.get $15
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.tee $0
|
||||
@ -1128,25 +1117,25 @@
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 20
|
||||
i32.shl
|
||||
i32.add
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.const 20
|
||||
i32.shr_s
|
||||
i32.const 0
|
||||
i32.le_s
|
||||
if (result f64)
|
||||
local.get $2
|
||||
local.get $7
|
||||
local.get $6
|
||||
call $~lib/math/NativeMath.scalbn
|
||||
else
|
||||
local.get $2
|
||||
i64.reinterpret_f64
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.get $9
|
||||
local.get $7
|
||||
i64.extend_i32_s
|
||||
i64.const 32
|
||||
i64.shl
|
||||
@ -1156,14 +1145,14 @@
|
||||
f64.mul
|
||||
return
|
||||
end
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
return
|
||||
end
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1e-300
|
||||
f64.mul
|
||||
f64.const 1e-300
|
||||
|
@ -1557,7 +1557,6 @@
|
||||
i32.const 0
|
||||
)
|
||||
(func $~lib/set/Set<i16>#has (; 19 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
@ -1565,14 +1564,14 @@
|
||||
i32.shl
|
||||
i32.const 16
|
||||
i32.shr_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
@ -2122,20 +2121,19 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/set/Set<u16>#has (; 24 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
i32.and
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
|
@ -4115,44 +4115,44 @@
|
||||
)
|
||||
(func $~lib/internal/number/genDigits (; 48 ;) (type $FUNCSIG$iijijiji) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32)
|
||||
(local $7 i32)
|
||||
(local $8 i64)
|
||||
(local $9 i32)
|
||||
(local $8 i32)
|
||||
(local $9 i64)
|
||||
(local $10 i32)
|
||||
(local $11 i32)
|
||||
(local $12 i64)
|
||||
(local $11 i64)
|
||||
(local $12 i32)
|
||||
(local $13 i64)
|
||||
(local $14 i64)
|
||||
local.get $3
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.set $12
|
||||
local.set $11
|
||||
i64.const 1
|
||||
i32.const 0
|
||||
local.get $4
|
||||
i32.sub
|
||||
local.tee $11
|
||||
local.tee $10
|
||||
i64.extend_i32_s
|
||||
local.tee $1
|
||||
i64.shl
|
||||
local.tee $13
|
||||
i64.shl
|
||||
local.tee $9
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.tee $14
|
||||
local.get $3
|
||||
i64.and
|
||||
local.set $8
|
||||
local.set $1
|
||||
local.get $3
|
||||
local.get $1
|
||||
local.get $13
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.tee $7
|
||||
call $~lib/internal/number/decimalCount32
|
||||
local.set $9
|
||||
local.set $8
|
||||
i32.const 4104
|
||||
i32.load
|
||||
local.set $10
|
||||
local.set $12
|
||||
loop $continue|0
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 0
|
||||
i32.gt_s
|
||||
if
|
||||
@ -4167,7 +4167,7 @@
|
||||
block $case3|1
|
||||
block $case2|1
|
||||
block $case1|1
|
||||
local.get $9
|
||||
local.get $8
|
||||
local.tee $2
|
||||
i32.const 10
|
||||
i32.ne
|
||||
@ -4297,40 +4297,43 @@
|
||||
i32.add
|
||||
i32.store16 offset=4
|
||||
end
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $9
|
||||
local.set $8
|
||||
local.get $7
|
||||
i64.extend_i32_u
|
||||
local.get $11
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.get $8
|
||||
local.get $1
|
||||
i64.add
|
||||
local.tee $1
|
||||
local.tee $3
|
||||
local.get $5
|
||||
i64.le_u
|
||||
if
|
||||
global.get $~lib/internal/number/_K
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.add
|
||||
global.set $~lib/internal/number/_K
|
||||
local.get $5
|
||||
local.set $3
|
||||
local.get $10
|
||||
local.get $9
|
||||
local.set $9
|
||||
local.get $3
|
||||
local.set $1
|
||||
local.get $12
|
||||
local.get $8
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
i64.load32_u offset=8
|
||||
local.get $11
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.set $8
|
||||
local.get $12
|
||||
local.set $3
|
||||
local.get $11
|
||||
local.set $5
|
||||
local.get $6
|
||||
local.tee $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
i32.const 1
|
||||
@ -4339,24 +4342,24 @@
|
||||
i32.add
|
||||
local.tee $2
|
||||
i32.load16_u offset=4
|
||||
local.set $10
|
||||
local.set $6
|
||||
loop $continue|2
|
||||
local.get $1
|
||||
local.get $5
|
||||
i64.lt_u
|
||||
local.tee $0
|
||||
if
|
||||
local.get $3
|
||||
local.get $9
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.ge_u
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
if
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $5
|
||||
i64.lt_u
|
||||
@ -4367,7 +4370,7 @@
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $5
|
||||
i64.sub
|
||||
@ -4377,21 +4380,21 @@
|
||||
end
|
||||
local.get $0
|
||||
if
|
||||
local.get $10
|
||||
local.get $6
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $10
|
||||
local.set $6
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.set $1
|
||||
br $continue|2
|
||||
end
|
||||
end
|
||||
local.get $2
|
||||
local.get $10
|
||||
i32.store16 offset=4
|
||||
local.get $6
|
||||
i32.store16 offset=4
|
||||
local.get $7
|
||||
return
|
||||
end
|
||||
br $continue|0
|
||||
@ -4402,14 +4405,14 @@
|
||||
i64.const 10
|
||||
i64.mul
|
||||
local.set $5
|
||||
local.get $8
|
||||
local.get $1
|
||||
i64.const 10
|
||||
i64.mul
|
||||
local.tee $8
|
||||
local.get $11
|
||||
local.tee $1
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shr_u
|
||||
local.tee $1
|
||||
local.tee $3
|
||||
local.get $6
|
||||
i64.extend_i32_s
|
||||
i64.or
|
||||
@ -4426,7 +4429,7 @@
|
||||
i32.shl
|
||||
local.get $0
|
||||
i32.add
|
||||
local.get $1
|
||||
local.get $3
|
||||
i32.wrap_i64
|
||||
i32.const 65535
|
||||
i32.and
|
||||
@ -4434,36 +4437,37 @@
|
||||
i32.add
|
||||
i32.store16 offset=4
|
||||
end
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $9
|
||||
local.get $8
|
||||
local.set $8
|
||||
local.get $1
|
||||
local.get $14
|
||||
i64.and
|
||||
local.tee $8
|
||||
local.tee $1
|
||||
local.get $5
|
||||
i64.ge_u
|
||||
br_if $continue|3
|
||||
global.get $~lib/internal/number/_K
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.add
|
||||
global.set $~lib/internal/number/_K
|
||||
local.get $13
|
||||
local.set $1
|
||||
local.get $10
|
||||
i32.const 0
|
||||
local.get $1
|
||||
local.set $3
|
||||
local.get $9
|
||||
local.set $1
|
||||
local.get $12
|
||||
i32.const 0
|
||||
local.get $8
|
||||
i32.sub
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
i64.load32_u offset=8
|
||||
local.get $12
|
||||
local.get $11
|
||||
i64.mul
|
||||
local.set $3
|
||||
local.set $9
|
||||
local.get $6
|
||||
local.tee $10
|
||||
i32.const 1
|
||||
i32.sub
|
||||
i32.const 1
|
||||
@ -4472,15 +4476,15 @@
|
||||
i32.add
|
||||
local.tee $4
|
||||
i32.load16_u offset=4
|
||||
local.set $6
|
||||
local.set $7
|
||||
loop $continue|4
|
||||
local.get $8
|
||||
local.get $3
|
||||
local.get $9
|
||||
i64.lt_u
|
||||
local.tee $2
|
||||
if
|
||||
local.get $5
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.sub
|
||||
local.get $1
|
||||
i64.ge_u
|
||||
@ -4489,20 +4493,20 @@
|
||||
local.get $2
|
||||
if
|
||||
local.get $1
|
||||
local.get $8
|
||||
i64.add
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $9
|
||||
i64.lt_u
|
||||
local.tee $2
|
||||
i32.eqz
|
||||
if
|
||||
local.get $9
|
||||
local.get $3
|
||||
local.get $8
|
||||
i64.sub
|
||||
local.get $1
|
||||
local.get $8
|
||||
i64.add
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $9
|
||||
i64.sub
|
||||
i64.gt_u
|
||||
local.set $2
|
||||
@ -4510,27 +4514,26 @@
|
||||
end
|
||||
local.get $2
|
||||
if
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $6
|
||||
local.set $7
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.set $8
|
||||
local.set $3
|
||||
br $continue|4
|
||||
end
|
||||
end
|
||||
local.get $4
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.store16 offset=4
|
||||
local.get $10
|
||||
local.get $6
|
||||
end
|
||||
)
|
||||
(func $~lib/internal/number/prettify (; 49 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
local.get $2
|
||||
i32.eqz
|
||||
if
|
||||
@ -4709,7 +4712,7 @@
|
||||
local.tee $3
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
if
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -4722,31 +4725,31 @@
|
||||
call $~lib/internal/number/decimalCount32
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $5
|
||||
local.tee $2
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
local.get $4
|
||||
i32.const 45
|
||||
i32.const 43
|
||||
local.get $2
|
||||
local.get $0
|
||||
select
|
||||
i32.store16 offset=4
|
||||
local.get $5
|
||||
local.get $2
|
||||
i32.const 2
|
||||
i32.add
|
||||
else
|
||||
local.get $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
local.tee $4
|
||||
local.tee $2
|
||||
i32.const 4
|
||||
i32.add
|
||||
local.get $4
|
||||
local.get $2
|
||||
i32.const 2
|
||||
i32.add
|
||||
local.get $1
|
||||
i32.const 1
|
||||
i32.shl
|
||||
local.tee $5
|
||||
local.tee $2
|
||||
i32.const 2
|
||||
i32.sub
|
||||
call $~lib/internal/memory/memmove
|
||||
@ -4754,7 +4757,7 @@
|
||||
i32.const 46
|
||||
i32.store16 offset=6
|
||||
local.get $0
|
||||
local.get $5
|
||||
local.get $2
|
||||
i32.add
|
||||
local.tee $0
|
||||
i32.const 101
|
||||
@ -4770,7 +4773,7 @@
|
||||
local.tee $3
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
if
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -4783,16 +4786,16 @@
|
||||
call $~lib/internal/number/decimalCount32
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $0
|
||||
local.tee $2
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
local.get $4
|
||||
i32.const 45
|
||||
i32.const 43
|
||||
local.get $2
|
||||
local.get $0
|
||||
select
|
||||
i32.store16 offset=4
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $2
|
||||
i32.add
|
||||
i32.const 2
|
||||
i32.add
|
||||
@ -4804,21 +4807,22 @@
|
||||
(func $~lib/internal/number/dtoa_core (; 50 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32)
|
||||
(local $2 i64)
|
||||
(local $3 i64)
|
||||
(local $4 i32)
|
||||
(local $5 i64)
|
||||
(local $4 i64)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
(local $8 i32)
|
||||
(local $8 i64)
|
||||
(local $9 i64)
|
||||
(local $10 i64)
|
||||
(local $11 i64)
|
||||
(local $12 i64)
|
||||
(local $13 i32)
|
||||
(local $14 i64)
|
||||
(local $12 i32)
|
||||
(local $13 i64)
|
||||
(local $14 i32)
|
||||
(local $15 i64)
|
||||
local.get $1
|
||||
f64.const 0
|
||||
f64.lt
|
||||
local.tee $13
|
||||
local.tee $12
|
||||
if (result f64)
|
||||
local.get $0
|
||||
i32.const 45
|
||||
@ -4829,72 +4833,70 @@
|
||||
local.get $1
|
||||
end
|
||||
i64.reinterpret_f64
|
||||
local.tee $14
|
||||
local.tee $3
|
||||
i64.const 9218868437227405312
|
||||
i64.and
|
||||
i64.const 52
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.set $7
|
||||
local.get $14
|
||||
local.set $6
|
||||
local.get $3
|
||||
i64.const 4503599627370495
|
||||
i64.and
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 0
|
||||
i32.ne
|
||||
local.tee $4
|
||||
local.tee $7
|
||||
i64.extend_i32_u
|
||||
i64.const 52
|
||||
i64.shl
|
||||
i64.add
|
||||
local.set $2
|
||||
local.get $7
|
||||
i32.const 1
|
||||
local.get $4
|
||||
select
|
||||
i32.const 1075
|
||||
i32.sub
|
||||
local.tee $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.tee $4
|
||||
i64.const 1
|
||||
i64.shl
|
||||
i64.const 1
|
||||
i64.add
|
||||
local.tee $5
|
||||
local.tee $3
|
||||
i64.clz
|
||||
i32.wrap_i64
|
||||
local.set $4
|
||||
local.set $5
|
||||
local.get $3
|
||||
local.get $5
|
||||
local.get $4
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
global.set $~lib/internal/number/_frc_plus
|
||||
local.get $2
|
||||
local.get $2
|
||||
local.get $6
|
||||
i32.const 1
|
||||
local.get $7
|
||||
select
|
||||
i32.const 1075
|
||||
i32.sub
|
||||
local.tee $6
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.get $5
|
||||
i32.sub
|
||||
local.set $5
|
||||
local.get $4
|
||||
local.get $4
|
||||
i64.const 4503599627370496
|
||||
i64.eq
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $6
|
||||
local.tee $7
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.get $7
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.sub
|
||||
local.get $8
|
||||
local.get $4
|
||||
i32.sub
|
||||
local.tee $8
|
||||
local.get $5
|
||||
i32.sub
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
global.set $~lib/internal/number/_frc_minus
|
||||
local.get $8
|
||||
local.get $5
|
||||
global.set $~lib/internal/number/_exp
|
||||
i32.const 348
|
||||
i32.const -61
|
||||
@ -4907,8 +4909,8 @@
|
||||
f64.add
|
||||
local.tee $1
|
||||
i32.trunc_f64_s
|
||||
local.tee $4
|
||||
local.get $4
|
||||
local.tee $5
|
||||
local.get $5
|
||||
f64.convert_i32_s
|
||||
local.get $1
|
||||
f64.ne
|
||||
@ -4917,63 +4919,63 @@
|
||||
i32.shr_s
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $8
|
||||
local.tee $5
|
||||
i32.const 3
|
||||
i32.shl
|
||||
local.tee $4
|
||||
local.tee $14
|
||||
i32.sub
|
||||
global.set $~lib/internal/number/_K
|
||||
i32.const 4032
|
||||
i32.load
|
||||
local.set $6
|
||||
local.set $7
|
||||
i32.const 3768
|
||||
i32.load
|
||||
local.get $4
|
||||
local.get $14
|
||||
i32.add
|
||||
i64.load offset=8
|
||||
global.set $~lib/internal/number/_frc_pow
|
||||
local.get $6
|
||||
local.get $8
|
||||
local.get $7
|
||||
local.get $5
|
||||
i32.const 1
|
||||
i32.shl
|
||||
i32.add
|
||||
i32.load16_s offset=8
|
||||
global.set $~lib/internal/number/_exp_pow
|
||||
local.get $2
|
||||
local.get $2
|
||||
local.get $4
|
||||
local.get $4
|
||||
i64.clz
|
||||
i32.wrap_i64
|
||||
local.tee $6
|
||||
local.tee $7
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.tee $2
|
||||
local.tee $4
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $9
|
||||
global.get $~lib/internal/number/_frc_pow
|
||||
local.tee $5
|
||||
local.tee $3
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $10
|
||||
i64.mul
|
||||
local.set $3
|
||||
local.get $5
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $11
|
||||
local.get $9
|
||||
i64.mul
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $2
|
||||
local.get $10
|
||||
i64.mul
|
||||
local.set $13
|
||||
local.get $3
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $8
|
||||
local.get $9
|
||||
i64.mul
|
||||
local.get $4
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $11
|
||||
local.get $10
|
||||
i64.mul
|
||||
local.get $13
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
local.tee $3
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
i64.add
|
||||
@ -4981,39 +4983,39 @@
|
||||
i64.add
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $2
|
||||
local.get $8
|
||||
local.get $11
|
||||
i64.mul
|
||||
local.get $3
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
i64.add
|
||||
local.set $14
|
||||
local.get $5
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $2
|
||||
global.get $~lib/internal/number/_frc_plus
|
||||
local.tee $3
|
||||
local.set $15
|
||||
local.get $3
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $11
|
||||
global.get $~lib/internal/number/_frc_plus
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $8
|
||||
i64.mul
|
||||
local.set $12
|
||||
local.get $11
|
||||
local.get $5
|
||||
local.set $4
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $9
|
||||
i64.mul
|
||||
local.get $11
|
||||
local.get $2
|
||||
local.get $3
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $10
|
||||
i64.mul
|
||||
local.get $12
|
||||
local.get $4
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
@ -5033,39 +5035,40 @@
|
||||
i64.shr_u
|
||||
i64.add
|
||||
i64.add
|
||||
local.set $12
|
||||
local.set $8
|
||||
global.get $~lib/internal/number/_frc_minus
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $9
|
||||
local.get $5
|
||||
local.get $3
|
||||
local.tee $4
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $10
|
||||
i64.mul
|
||||
local.set $3
|
||||
local.get $12
|
||||
local.set $13
|
||||
local.get $8
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.tee $12
|
||||
local.get $5
|
||||
local.tee $3
|
||||
local.get $4
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $11
|
||||
local.tee $8
|
||||
local.get $9
|
||||
i64.mul
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $2
|
||||
local.tee $11
|
||||
local.get $10
|
||||
i64.mul
|
||||
local.get $3
|
||||
local.get $13
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
local.tee $3
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
i64.add
|
||||
@ -5073,10 +5076,10 @@
|
||||
i64.add
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $2
|
||||
local.get $8
|
||||
local.get $11
|
||||
i64.mul
|
||||
local.get $3
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
@ -5084,36 +5087,36 @@
|
||||
i64.const 1
|
||||
i64.add
|
||||
i64.sub
|
||||
local.set $3
|
||||
local.get $13
|
||||
local.set $2
|
||||
local.get $12
|
||||
i32.const 1
|
||||
i32.shl
|
||||
local.get $0
|
||||
i32.add
|
||||
local.get $0
|
||||
local.get $14
|
||||
local.get $7
|
||||
local.get $15
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.sub
|
||||
global.get $~lib/internal/number/_exp_pow
|
||||
local.tee $6
|
||||
i32.add
|
||||
i32.const -64
|
||||
i32.sub
|
||||
local.get $12
|
||||
local.get $3
|
||||
global.get $~lib/internal/number/_exp
|
||||
local.get $6
|
||||
i32.add
|
||||
i32.const -64
|
||||
i32.sub
|
||||
local.get $3
|
||||
local.get $13
|
||||
local.get $2
|
||||
local.get $12
|
||||
call $~lib/internal/number/genDigits
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.sub
|
||||
global.get $~lib/internal/number/_K
|
||||
call $~lib/internal/number/prettify
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.add
|
||||
)
|
||||
(func $~lib/string/String#substring (; 51 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
|
@ -2370,7 +2370,7 @@
|
||||
i32.const 1
|
||||
i32.ne
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
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
|
||||
@ -2411,17 +2411,17 @@
|
||||
global.get $~lib/symbol/idToString
|
||||
i32.const 0
|
||||
i32.ne
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
if
|
||||
global.get $~lib/symbol/idToString
|
||||
local.get $0
|
||||
local.get $1
|
||||
call $~lib/map/Map<usize,String>#has
|
||||
local.set $1
|
||||
local.set $0
|
||||
end
|
||||
local.get $1
|
||||
local.get $0
|
||||
if (result i32)
|
||||
global.get $~lib/symbol/idToString
|
||||
local.get $0
|
||||
local.get $1
|
||||
call $~lib/map/Map<usize,String>#get
|
||||
else
|
||||
i32.const 168
|
||||
|
@ -467,12 +467,13 @@
|
||||
)
|
||||
(func $~lib/typedarray/Int8Array#constructor (; 5 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
local.get $0
|
||||
if (result i32)
|
||||
local.get $0
|
||||
else
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 12
|
||||
call $~lib/allocator/arena/__memory_allocate
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
local.get $1
|
||||
call $~lib/internal/typedarray/TypedArray<i8>#constructor
|
||||
)
|
||||
@ -8842,11 +8843,11 @@
|
||||
end
|
||||
)
|
||||
(func $std/typedarray/testArrayForEach<Int32Array,i32>~anonymous|0 (; 204 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
(local $3 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
global.get $std/typedarray/forEachValues
|
||||
i32.load
|
||||
local.tee $3
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 2
|
||||
i32.shr_u
|
||||
@ -8855,13 +8856,12 @@
|
||||
local.get $1
|
||||
i32.const 2
|
||||
i32.shl
|
||||
local.get $3
|
||||
local.get $0
|
||||
i32.add
|
||||
i32.load offset=8
|
||||
else
|
||||
unreachable
|
||||
end
|
||||
local.get $0
|
||||
i32.ne
|
||||
if
|
||||
i32.const 664
|
||||
|
Reference in New Issue
Block a user