Update Binaryen to latest

This commit is contained in:
dcodeIO
2018-12-01 03:09:43 +01:00
parent 9744c319c7
commit a661ff7d89
35 changed files with 5181 additions and 5546 deletions

6
package-lock.json generated
View File

@@ -549,9 +549,9 @@
"dev": true
},
"binaryen": {
"version": "55.0.0-nightly.20181122",
"resolved": "https://registry.npmjs.org/binaryen/-/binaryen-55.0.0-nightly.20181122.tgz",
"integrity": "sha512-sgI5FLlZ3RrRKXYfghQhUMBttfkXE41R37r2Agq5hWU3tMGw1xANVvKho8xPNlIdrNtM9jrRVPMt7HQ/236VnQ=="
"version": "55.0.0-nightly.20181130",
"resolved": "https://registry.npmjs.org/binaryen/-/binaryen-55.0.0-nightly.20181130.tgz",
"integrity": "sha512-RfMiI0vavw7Sy7KX8h1xOs4D3zp9nehmtE87DSfY6nXyd2EAdMwJ97tWdepuhOc6JWZsntOfzUA2fqu/sYTTLg=="
},
"bluebird": {
"version": "3.5.3",

View File

@@ -12,7 +12,7 @@
},
"dependencies": {
"@protobufjs/utf8": "^1.1.0",
"binaryen": "55.0.0-nightly.20181122",
"binaryen": "55.0.0-nightly.20181130",
"glob": "^7.1.3",
"long": "^4.0.0"
},

View File

@@ -74,7 +74,6 @@
(local $2 i32)
(local $3 i32)
(local $4 i32)
block $folding-inner0
get_local $0
i32.reinterpret/f32
tee_local $1
@@ -103,6 +102,7 @@
f32.div
return
end
block $folding-inner0
get_local $1
i32.const 1
i32.shl
@@ -188,6 +188,7 @@
tee_local $3
i32.shl
set_local $1
get_local $4
get_local $2
get_local $3
i32.sub
@@ -210,7 +211,6 @@
i32.shr_u
end
tee_local $1
get_local $4
i32.or
f32.reinterpret/i32
return
@@ -225,7 +225,6 @@
(local $3 i64)
(local $4 i32)
(local $5 i64)
block $folding-inner0
get_local $0
i64.reinterpret/f64
tee_local $1
@@ -254,6 +253,7 @@
f64.div
return
end
block $folding-inner0
get_local $1
i64.const 1
i64.shl
@@ -601,7 +601,6 @@
get_global $binary/f
call $~lib/math/NativeMathf.mod
drop
block $__inlined_func$~lib/math/NativeMathf.pow
get_global $binary/f
tee_local $0
i32.reinterpret/f32
@@ -615,6 +614,7 @@
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

View File

@@ -130,10 +130,10 @@
call $~lib/env/abort
unreachable
end
block $break|0
i32.const 0
set_local $0
loop $repeat|0
block $break|0
get_local $0
get_global $comma/a
i32.ge_s
@@ -147,9 +147,7 @@
i32.add
set_local $0
br $repeat|0
unreachable
end
unreachable
end
get_local $0
i32.const 1

View File

@@ -13,10 +13,10 @@
(func $start (; 1 ;) (type $v)
(local $0 i32)
(local $1 i32)
block $break|0
i32.const 0
set_global $for/i
loop $repeat|0
block $break|0
get_global $for/i
i32.const 10
i32.ge_s
@@ -26,9 +26,7 @@
i32.add
set_global $for/i
br $repeat|0
unreachable
end
unreachable
end
get_global $for/i
i32.const 10
@@ -41,8 +39,8 @@
call $~lib/env/abort
unreachable
end
block $break|1
loop $repeat|1
block $break|1
get_local $0
i32.const 10
i32.ge_s
@@ -52,9 +50,7 @@
i32.add
set_local $0
br $repeat|1
unreachable
end
unreachable
end
loop $repeat|2
get_global $for/i
@@ -99,10 +95,10 @@
get_global $for/i
br_if $repeat|4
end
block $break|5
i32.const 0
set_local $0
loop $repeat|5
block $break|5
get_local $0
i32.const 10
i32.ge_s
@@ -112,9 +108,7 @@
i32.add
set_local $0
br $repeat|5
unreachable
end
unreachable
end
get_local $0
i32.const 10
@@ -127,23 +121,23 @@
call $~lib/env/abort
unreachable
end
block $break|6
i32.const 0
set_local $0
loop $repeat|6
block $break|6
get_local $0
i32.const 10
i32.ge_s
br_if $break|6
block $break|7
i32.const 0
set_local $1
loop $repeat|7
block $continue|7
block $break|7
get_local $1
i32.const 10
i32.ge_s
br_if $break|7
block $continue|7
get_local $0
get_local $1
i32.eq
@@ -154,18 +148,14 @@
i32.add
set_local $1
br $repeat|7
unreachable
end
unreachable
end
get_local $0
i32.const 1
i32.add
set_local $0
br $repeat|6
unreachable
end
unreachable
end
)
(func $null (; 2 ;) (type $v)

View File

@@ -24,8 +24,7 @@
loop $repeat|0
get_local $0
i32.const 10
i32.ge_s
i32.eqz
i32.lt_s
if
get_local $0
i32.const 1

View File

@@ -97,7 +97,6 @@
end
end
end
get_local $3
get_local $1
i32.const 614242
i32.add
@@ -106,8 +105,12 @@
i32.shr_s
i32.const 1023
i32.sub
get_local $3
i32.add
set_local $3
get_local $4
i64.const 4294967295
i64.and
get_local $1
i32.const 1048575
i32.and
@@ -116,9 +119,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $4
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -281,7 +281,6 @@
end
end
end
block $break|2
f64.const 8
get_local $3
f64.convert_u/i32
@@ -292,8 +291,7 @@
f64.convert_u/i32
get_local $6
f64.lt
i32.eqz
br_if $break|2
if
get_local $4
get_local $4
f64.mul
@@ -319,9 +317,7 @@
i32.add
set_local $2
br $repeat|2
unreachable
end
unreachable
end
get_local $0
get_local $1

View File

@@ -249,9 +249,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
@@ -259,14 +256,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
@@ -274,14 +271,14 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
@@ -289,14 +286,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
@@ -304,6 +301,9 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
@@ -358,9 +358,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
@@ -368,14 +365,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
@@ -383,14 +380,14 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
@@ -398,14 +395,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
@@ -413,6 +410,9 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $1
@@ -459,9 +459,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
@@ -469,14 +466,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
@@ -484,14 +481,14 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
@@ -499,14 +496,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
@@ -514,6 +511,9 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $1

View File

@@ -141,11 +141,11 @@
get_local $4
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -160,11 +160,11 @@
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -178,11 +178,11 @@
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2

View File

@@ -15,17 +15,17 @@
(local $3 i32)
(local $4 i32)
(local $5 i64)
block $folding-inner0
get_local $0
set_local $3
block $folding-inner0
get_local $2
i32.eqz
br_if $folding-inner0
get_local $3
get_local $1
i32.store8
get_local $3
get_local $2
get_local $3
i32.add
i32.const 1
i32.sub
@@ -45,8 +45,8 @@
i32.add
get_local $1
i32.store8
get_local $3
get_local $2
get_local $3
i32.add
tee_local $0
i32.const 2
@@ -67,8 +67,8 @@
i32.add
get_local $1
i32.store8
get_local $3
get_local $2
get_local $3
i32.add
i32.const 4
i32.sub
@@ -98,11 +98,11 @@
i32.mul
tee_local $1
i32.store
get_local $0
get_local $2
i32.const -4
i32.and
tee_local $2
get_local $0
i32.add
i32.const 4
i32.sub
@@ -183,12 +183,12 @@
get_local $1
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $4
get_local $0
i32.add
set_local $0
get_local $2

View File

@@ -13,22 +13,19 @@
(start $start)
(func $start (; 1 ;) (type $v)
(local $0 i32)
block $break|0
i32.const -128
set_local $0
loop $repeat|0
get_local $0
i32.const 255
i32.gt_s
br_if $break|0
i32.le_s
if
get_local $0
i32.const 1
i32.add
set_local $0
br $repeat|0
unreachable
end
unreachable
end
i32.const -1
set_global $retain-i32/si

View File

@@ -11,8 +11,7 @@
loop $repeat|0
get_local $0
i32.const 1
i32.ge_s
i32.eqz
i32.lt_s
if
get_local $0
i32.const 1
@@ -21,22 +20,19 @@
br $repeat|0
end
end
block $break|1
i32.const 0
set_local $0
loop $repeat|1
get_local $0
i32.const 1
i32.ge_s
br_if $break|1
i32.lt_s
if
get_local $0
i32.const 1
i32.add
set_local $0
br $repeat|1
unreachable
end
unreachable
end
)
(func $null (; 1 ;) (type $v)

View File

@@ -113,24 +113,24 @@
i32.sub
i32.const 18
i32.store8
get_local $0
i32.const 0
get_local $0
i32.sub
i32.const 3
i32.and
tee_local $1
get_local $0
i32.add
tee_local $0
i32.const 303174162
i32.store
get_local $0
i32.const 42
get_local $1
i32.sub
i32.const -4
i32.and
tee_local $2
get_local $0
i32.add
i32.const 4
i32.sub
@@ -215,12 +215,12 @@
i32.const 303174162
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $1
get_local $0
i32.add
set_local $0
get_local $2
@@ -495,9 +495,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
@@ -505,14 +502,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
@@ -520,14 +517,14 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
@@ -535,14 +532,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
@@ -550,6 +547,9 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
@@ -604,9 +604,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
@@ -614,14 +611,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
@@ -629,14 +626,14 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
@@ -644,14 +641,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
@@ -659,6 +656,9 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $1
@@ -705,9 +705,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
@@ -715,14 +712,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
@@ -730,14 +727,14 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
@@ -745,14 +742,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
@@ -760,6 +757,9 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $1
@@ -1316,11 +1316,11 @@
if
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1335,11 +1335,11 @@
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1353,11 +1353,11 @@
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1445,14 +1445,13 @@
end
get_global $std/allocator_arena/ptr1
call $~lib/internal/memory/memset
block $break|0
i32.const 0
set_global $std/allocator_arena/i
loop $repeat|0
get_global $std/allocator_arena/i
i32.const 42
i32.ge_u
br_if $break|0
i32.lt_u
if
get_global $std/allocator_arena/ptr1
get_global $std/allocator_arena/i
i32.add
@@ -1474,21 +1473,18 @@
br $repeat|0
end
unreachable
unreachable
end
unreachable
end
get_global $std/allocator_arena/ptr2
get_global $std/allocator_arena/ptr1
call $~lib/internal/memory/memmove
block $break|1
i32.const 0
set_global $std/allocator_arena/i
loop $repeat|1
get_global $std/allocator_arena/i
i32.const 42
i32.ge_u
br_if $break|1
i32.lt_u
if
get_global $std/allocator_arena/ptr2
get_global $std/allocator_arena/i
i32.add
@@ -1510,9 +1506,7 @@
br $repeat|1
end
unreachable
unreachable
end
unreachable
end
get_global $std/allocator_arena/ptr1
get_global $std/allocator_arena/ptr2

View File

@@ -70,10 +70,10 @@
)
(func $~lib/internal/string/compareUnsafe (; 3 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(local $4 i32)
get_local $0
get_local $1
i32.const 1
i32.shl
get_local $0
i32.add
set_local $1
loop $continue|0
@@ -122,9 +122,6 @@
call $~lib/env/abort
unreachable
end
i32.const 8
i32.load
tee_local $2
i32.const 0
get_local $0
i32.load
@@ -133,6 +130,9 @@
get_local $1
i32.lt_s
select
tee_local $2
i32.const 8
i32.load
tee_local $3
i32.add
get_local $1
@@ -142,9 +142,9 @@
return
end
get_local $0
get_local $3
i32.const 8
get_local $2
i32.const 8
get_local $3
call $~lib/internal/string/compareUnsafe
i32.eqz
)

View File

@@ -188,24 +188,24 @@
if
return
end
get_local $0
i32.const 0
get_local $0
i32.sub
i32.const 3
i32.and
tee_local $2
get_local $0
i32.add
tee_local $0
i32.const 0
i32.store
get_local $0
get_local $1
get_local $2
i32.sub
i32.const -4
i32.and
tee_local $1
get_local $0
i32.add
i32.const 4
i32.sub
@@ -290,12 +290,12 @@
i32.const 0
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $2
get_local $0
i32.add
set_local $0
get_local $1

File diff suppressed because it is too large Load Diff

View File

@@ -180,24 +180,24 @@
if
return
end
get_local $0
i32.const 0
get_local $0
i32.sub
i32.const 3
i32.and
tee_local $2
get_local $0
i32.add
tee_local $0
i32.const 0
i32.store
get_local $0
get_local $1
get_local $2
i32.sub
i32.const -4
i32.and
tee_local $1
get_local $0
i32.add
i32.const 4
i32.sub
@@ -282,12 +282,12 @@
i32.const 0
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $2
get_local $0
i32.add
set_local $0
get_local $1
@@ -562,9 +562,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
@@ -572,14 +569,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
@@ -587,14 +584,14 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
@@ -602,14 +599,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
@@ -617,6 +614,9 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
@@ -671,9 +671,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
@@ -681,14 +678,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
@@ -696,14 +693,14 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
@@ -711,14 +708,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
@@ -726,6 +723,9 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $1
@@ -772,9 +772,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
@@ -782,14 +779,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
@@ -797,14 +794,14 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
@@ -812,14 +809,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
@@ -827,6 +824,9 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $1
@@ -1380,11 +1380,11 @@
if
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1399,11 +1399,11 @@
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1417,11 +1417,11 @@
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1443,8 +1443,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $3
get_local $1
get_local $3
i32.add
tee_local $4
i32.const 0
@@ -1466,8 +1466,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $3
get_local $2
get_local $3
i32.add
tee_local $4
i32.const 0

View File

@@ -190,24 +190,24 @@
if
return
end
get_local $0
i32.const 0
get_local $0
i32.sub
i32.const 3
i32.and
tee_local $2
get_local $0
i32.add
tee_local $0
i32.const 0
i32.store
get_local $0
get_local $1
get_local $2
i32.sub
i32.const -4
i32.and
tee_local $1
get_local $0
i32.add
i32.const 4
i32.sub
@@ -292,12 +292,12 @@
i32.const 0
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $2
get_local $0
i32.add
set_local $0
get_local $1
@@ -384,12 +384,12 @@
call $~lib/env/abort
unreachable
end
get_local $1
get_local $0
i32.load
get_local $0
i32.load offset=4
i32.add
get_local $1
i32.add
get_local $2
i32.store8 offset=8
@@ -652,9 +652,6 @@
get_local $2
i32.eqz
if
get_local $0
i32.const 8
i32.shl
get_local $0
i32.const 16
i32.shl
@@ -662,6 +659,9 @@
i32.shr_s
i32.const 255
i32.and
get_local $0
i32.const 8
i32.shl
i32.or
set_local $0
end
@@ -964,9 +964,6 @@
get_local $2
i32.eqz
if
get_local $1
i32.const 8
i32.shl
get_local $1
i32.const 16
i32.shl
@@ -974,6 +971,9 @@
i32.shr_s
i32.const 255
i32.and
get_local $1
i32.const 8
i32.shl
i32.or
set_local $1
end

View File

@@ -170,9 +170,9 @@
i64.store
get_local $0
set_global $std/date/date
get_global $std/date/creationTime
get_global $std/date/date
i64.load
get_global $std/date/creationTime
i64.ne
if
i32.const 0

View File

@@ -44,22 +44,22 @@
i32.load offset=4
set_local $2
get_local $1
get_local $0
get_local $1
i32.load
i32.const 3
i32.and
get_local $0
i32.or
i32.store
get_local $1
get_local $2
i32.store offset=4
get_local $2
get_local $1
get_local $2
i32.load
i32.const 3
i32.and
get_local $1
i32.or
i32.store
get_local $0
@@ -69,8 +69,8 @@
(func $~lib/collector/itcm/ManagedObject#makeGray (; 3 ;) (type $iv) (param $0 i32)
(local $1 i32)
(local $2 i32)
get_local $0
get_global $~lib/collector/itcm/iter
get_local $0
i32.eq
if
get_local $0
@@ -87,11 +87,11 @@
tee_local $1
i32.store offset=4
get_local $1
get_local $2
get_local $1
i32.load
i32.const 3
i32.and
get_local $2
i32.or
i32.store
get_global $~lib/collector/itcm/toSpace
@@ -110,6 +110,7 @@
(local $1 i32)
get_local $0
if
get_global $~lib/collector/itcm/white
get_local $0
i32.const 16
i32.sub
@@ -117,7 +118,6 @@
i32.load
i32.const 3
i32.and
get_global $~lib/collector/itcm/white
i32.eq
if
get_local $1
@@ -142,8 +142,8 @@
get_local $0
i32.lt_u
if
get_local $2
get_local $1
get_local $2
i32.add
i32.load offset=8
call $~lib/collector/itcm/__gc_mark
@@ -283,12 +283,12 @@
get_local $0
set_global $~lib/collector/itcm/iter
get_local $0
get_global $~lib/collector/itcm/white
i32.eqz
get_local $0
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/white
i32.eqz
i32.or
i32.store
i32.const 1
@@ -303,11 +303,11 @@
get_global $std/gc-array/arr
i32.const 3
call_indirect (type $iv)
get_global $~lib/collector/itcm/toSpace
get_global $~lib/collector/itcm/iter
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/toSpace
i32.eq
if
get_global $~lib/collector/itcm/fromSpace
@@ -396,11 +396,11 @@
get_local $1
i32.store offset=8
get_local $2
get_global $~lib/collector/itcm/white
get_local $2
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/white
i32.or
i32.store
get_global $~lib/collector/itcm/fromSpace
@@ -480,24 +480,24 @@
if
return
end
get_local $0
i32.const 0
get_local $0
i32.sub
i32.const 3
i32.and
tee_local $2
get_local $0
i32.add
tee_local $0
i32.const 0
i32.store
get_local $0
get_local $1
get_local $2
i32.sub
i32.const -4
i32.and
tee_local $1
get_local $0
i32.add
i32.const 4
i32.sub
@@ -582,12 +582,12 @@
i32.const 0
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $2
get_local $0
i32.add
set_local $0
get_local $1
@@ -890,9 +890,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
@@ -900,14 +897,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
@@ -915,14 +912,14 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
@@ -930,14 +927,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
@@ -945,6 +942,9 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
@@ -999,9 +999,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
@@ -1009,14 +1006,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
@@ -1024,14 +1021,14 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
@@ -1039,14 +1036,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
@@ -1054,6 +1051,9 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $1
@@ -1100,9 +1100,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
@@ -1110,14 +1107,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
@@ -1125,14 +1122,14 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
@@ -1140,14 +1137,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
@@ -1155,6 +1152,9 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $1
@@ -1708,11 +1708,11 @@
if
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1727,11 +1727,11 @@
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1745,11 +1745,11 @@
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1819,8 +1819,8 @@
i32.add
get_local $2
call $~lib/internal/memory/memmove
get_local $4
get_local $2
get_local $4
i32.add
get_local $1
get_local $2
@@ -1854,6 +1854,8 @@
)
(func $~lib/collector/itcm/__gc_link (; 16 ;) (type $iiv) (param $0 i32) (param $1 i32)
(local $2 i32)
get_global $~lib/collector/itcm/white
i32.eqz
get_local $0
i32.const 16
i32.sub
@@ -1861,18 +1863,16 @@
i32.load
i32.const 3
i32.and
get_global $~lib/collector/itcm/white
i32.eqz
i32.eq
tee_local $0
if
get_global $~lib/collector/itcm/white
get_local $1
i32.const 16
i32.sub
i32.load
i32.const 3
i32.and
get_global $~lib/collector/itcm/white
i32.eq
set_local $0
end
@@ -1920,10 +1920,10 @@
get_local $4
i32.store offset=4
end
get_local $3
get_local $1
i32.const 2
i32.shl
get_local $3
i32.add
get_local $2
i32.store offset=8

View File

@@ -96,22 +96,22 @@
i32.load offset=4
set_local $2
get_local $1
get_local $0
get_local $1
i32.load
i32.const 3
i32.and
get_local $0
i32.or
i32.store
get_local $1
get_local $2
i32.store offset=4
get_local $2
get_local $1
get_local $2
i32.load
i32.const 3
i32.and
get_local $1
i32.or
i32.store
get_local $0
@@ -121,8 +121,8 @@
(func $~lib/collector/itcm/ManagedObject#makeGray (; 4 ;) (type $iv) (param $0 i32)
(local $1 i32)
(local $2 i32)
get_local $0
get_global $~lib/collector/itcm/iter
get_local $0
i32.eq
if
get_local $0
@@ -139,11 +139,11 @@
tee_local $1
i32.store offset=4
get_local $1
get_local $2
get_local $1
i32.load
i32.const 3
i32.and
get_local $2
i32.or
i32.store
get_global $~lib/collector/itcm/toSpace
@@ -162,6 +162,7 @@
(local $1 i32)
get_local $0
if
get_global $~lib/collector/itcm/white
get_local $0
i32.const 16
i32.sub
@@ -169,7 +170,6 @@
i32.load
i32.const 3
i32.and
get_global $~lib/collector/itcm/white
i32.eq
if
get_local $1
@@ -243,12 +243,12 @@
get_local $0
set_global $~lib/collector/itcm/iter
get_local $0
get_global $~lib/collector/itcm/white
i32.eqz
get_local $0
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/white
i32.eqz
i32.or
i32.store
i32.const 1
@@ -266,11 +266,11 @@
get_global $std/gc-basics/obj2
i32.const 2
call_indirect (type $iv)
get_global $~lib/collector/itcm/toSpace
get_global $~lib/collector/itcm/iter
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/toSpace
i32.eq
if
get_global $~lib/collector/itcm/fromSpace
@@ -325,11 +325,11 @@
i32.const 1
i32.store offset=8
get_local $0
get_global $~lib/collector/itcm/white
get_local $0
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/white
i32.or
i32.store
get_global $~lib/collector/itcm/fromSpace
@@ -422,8 +422,8 @@
end
get_local $1
if
get_local $3
get_local $2
get_local $3
i32.eq
set_local $1
end

View File

@@ -88,22 +88,22 @@
i32.load offset=4
set_local $2
get_local $1
get_local $0
get_local $1
i32.load
i32.const 3
i32.and
get_local $0
i32.or
i32.store
get_local $1
get_local $2
i32.store offset=4
get_local $2
get_local $1
get_local $2
i32.load
i32.const 3
i32.and
get_local $1
i32.or
i32.store
get_local $0
@@ -113,8 +113,8 @@
(func $~lib/collector/itcm/ManagedObject#makeGray (; 2 ;) (type $iv) (param $0 i32)
(local $1 i32)
(local $2 i32)
get_local $0
get_global $~lib/collector/itcm/iter
get_local $0
i32.eq
if
get_local $0
@@ -131,11 +131,11 @@
tee_local $1
i32.store offset=4
get_local $1
get_local $2
get_local $1
i32.load
i32.const 3
i32.and
get_local $2
i32.or
i32.store
get_global $~lib/collector/itcm/toSpace
@@ -154,6 +154,7 @@
(local $1 i32)
get_local $0
if
get_global $~lib/collector/itcm/white
get_local $0
i32.const 16
i32.sub
@@ -161,7 +162,6 @@
i32.load
i32.const 3
i32.and
get_global $~lib/collector/itcm/white
i32.eq
if
get_local $1
@@ -232,12 +232,12 @@
get_local $0
set_global $~lib/collector/itcm/iter
get_local $0
get_global $~lib/collector/itcm/white
i32.eqz
get_local $0
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/white
i32.eqz
i32.or
i32.store
i32.const 1
@@ -252,11 +252,11 @@
get_global $std/gc-object/obj
i32.const 1
call_indirect (type $iv)
get_global $~lib/collector/itcm/toSpace
get_global $~lib/collector/itcm/iter
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/toSpace
i32.eq
if
get_global $~lib/collector/itcm/fromSpace
@@ -311,11 +311,11 @@
i32.const 2
i32.store offset=8
get_local $0
get_global $~lib/collector/itcm/white
get_local $0
i32.load
i32.const -4
i32.and
get_global $~lib/collector/itcm/white
i32.or
i32.store
get_global $~lib/collector/itcm/fromSpace

View File

@@ -17,22 +17,22 @@
(local $3 i32)
i32.const -2128831035
set_local $2
block $break|0
get_local $0
i32.load
i32.const 1
i32.shl
set_local $3
loop $repeat|0
block $break|0
get_local $1
get_local $3
i32.ge_u
br_if $break|0
get_local $2
get_local $0
get_local $1
i32.add
i32.load8_u offset=4
get_local $2
i32.xor
i32.const 16777619
i32.mul
@@ -42,9 +42,7 @@
i32.add
set_local $1
br $repeat|0
unreachable
end
unreachable
end
get_local $2
)

View File

@@ -124,12 +124,12 @@
i32.const 1072693248
i32.ge_u
if
get_local $2
i32.const 1072693248
i32.sub
get_local $0
i64.reinterpret/f64
i32.wrap/i64
get_local $2
i32.const 1072693248
i32.sub
i32.or
i32.eqz
if
@@ -361,6 +361,9 @@
f64.const 0
end
set_local $4
get_local $7
i64.const 4294967295
i64.and
get_local $5
i32.const 1048575
i32.and
@@ -369,9 +372,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $7
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -532,7 +532,6 @@
end
end
end
get_local $3
get_local $1
i32.const 614242
i32.add
@@ -541,8 +540,12 @@
i32.shr_s
i32.const 1023
i32.sub
get_local $3
i32.add
set_local $3
get_local $4
i64.const 4294967295
i64.and
get_local $1
i32.const 1048575
i32.and
@@ -551,9 +554,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $4
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -696,12 +696,12 @@
i32.const 1072693248
i32.ge_u
if
get_local $2
i32.const 1072693248
i32.sub
get_local $0
i64.reinterpret/f64
i32.wrap/i64
get_local $2
i32.const 1072693248
i32.sub
i32.or
i32.eqz
if
@@ -1198,7 +1198,6 @@
(local $5 i32)
(local $6 i64)
(local $7 i32)
block $folding-inner0
get_local $1
get_local $1
f64.ne
@@ -1248,25 +1247,25 @@
call $~lib/math/NativeMath.atan
return
end
get_local $5
i32.const 31
i32.shr_u
get_local $4
i32.const 30
i32.shr_u
i32.const 2
i32.and
get_local $5
i32.const 31
i32.shr_u
i32.or
set_local $3
get_local $4
i32.const 2147483647
i32.and
set_local $4
get_local $7
get_local $5
i32.const 2147483647
i32.and
tee_local $5
get_local $7
i32.or
i32.eqz
if
@@ -1295,8 +1294,9 @@
return
end
end
get_local $4
block $folding-inner0
get_local $2
get_local $4
i32.or
i32.eqz
br_if $folding-inner0
@@ -2467,7 +2467,6 @@
end
end
end
get_local $4
get_local $1
i32.const 614242
i32.add
@@ -2476,8 +2475,12 @@
i32.shr_u
i32.const 1023
i32.sub
get_local $4
i32.add
set_local $4
get_local $5
i64.const 4294967295
i64.and
get_local $1
i32.const 1048575
i32.and
@@ -2486,9 +2489,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $5
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -2688,7 +2688,6 @@
end
end
end
get_local $5
get_local $1
i32.const 614242
i32.add
@@ -2697,8 +2696,12 @@
i32.shr_u
i32.const 1023
i32.sub
get_local $5
i32.add
set_local $5
get_local $6
i64.const 4294967295
i64.and
get_local $1
i32.const 1048575
i32.and
@@ -2707,9 +2710,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $6
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -2840,8 +2840,6 @@
(local $18 i32)
(local $19 f64)
(local $20 i32)
block $folding-inner1
block $folding-inner0
get_local $0
i64.reinterpret/f64
tee_local $17
@@ -2862,10 +2860,11 @@
i64.const 32
i64.shr_u
i32.wrap/i64
tee_local $11
tee_local $12
i32.const 2147483647
i32.and
tee_local $12
set_local $11
get_local $11
get_local $17
i32.wrap/i64
tee_local $7
@@ -2895,7 +2894,7 @@
get_local $8
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.gt_s
set_local $8
@@ -2903,7 +2902,7 @@
get_local $8
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.eq
tee_local $8
@@ -2925,20 +2924,20 @@
i32.const 0
i32.lt_s
if
get_local $12
get_local $11
i32.const 1128267776
i32.ge_s
if
i32.const 2
set_local $16
else
get_local $12
get_local $11
i32.const 1072693248
i32.ge_s
if
i32.const 52
i32.const 20
get_local $12
get_local $11
i32.const 20
i32.shr_s
i32.const 1023
@@ -2952,13 +2951,14 @@
i32.sub
set_local $8
get_local $7
get_local $12
get_local $11
get_local $5
select
tee_local $10
get_local $8
i32.shr_s
tee_local $5
set_local $5
get_local $5
get_local $8
i32.shl
get_local $10
@@ -2977,7 +2977,7 @@
get_local $7
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.eq
if
@@ -2991,7 +2991,7 @@
i32.const 1072693248
i32.ge_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if
@@ -3001,7 +3001,7 @@
get_local $1
return
else
get_local $11
get_local $12
i32.const 0
i32.ge_s
if (result f64)
@@ -3020,11 +3020,11 @@
end
unreachable
end
get_local $12
get_local $11
i32.const 1072693248
i32.eq
if
get_local $11
get_local $12
i32.const 0
i32.ge_s
if
@@ -3036,7 +3036,7 @@
f64.div
return
end
get_local $11
get_local $12
i32.const 1073741824
i32.eq
if
@@ -3045,7 +3045,7 @@
f64.mul
return
end
get_local $11
get_local $12
i32.const 1071644672
i32.eq
if
@@ -3085,7 +3085,7 @@
end
get_local $5
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if
@@ -3151,11 +3151,11 @@
set_local $13
end
end
get_local $12
get_local $11
i32.const 1105199104
i32.gt_s
if (result f64)
get_local $12
get_local $11
i32.const 1139802112
i32.gt_s
if
@@ -3163,7 +3163,7 @@
i32.const 1072693247
i32.le_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if (result f64)
@@ -3178,7 +3178,7 @@
i32.const 1072693248
i32.ge_s
if
get_local $11
get_local $12
i32.const 0
i32.gt_s
if (result f64)
@@ -3194,7 +3194,7 @@
i32.const 1072693247
i32.lt_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if (result f64)
@@ -3217,7 +3217,7 @@
i32.const 1072693248
i32.gt_s
if
get_local $11
get_local $12
i32.const 0
i32.gt_s
if (result f64)
@@ -3296,12 +3296,12 @@
i32.wrap/i64
set_local $4
end
get_local $7
get_local $4
i32.const 20
i32.shr_s
i32.const 1023
i32.sub
get_local $7
i32.add
set_local $7
get_local $4
@@ -3552,6 +3552,8 @@
tee_local $17
i32.wrap/i64
set_local $8
block $folding-inner1
block $folding-inner0
get_local $17
i64.const 32
i64.shr_u
@@ -3565,7 +3567,7 @@
i32.sub
get_local $8
i32.or
br_if $folding-inner1
br_if $folding-inner0
get_local $6
f64.const 8.008566259537294e-17
f64.add
@@ -3573,7 +3575,7 @@
get_local $0
f64.sub
f64.gt
br_if $folding-inner1
br_if $folding-inner0
else
get_local $5
i32.const 2147483647
@@ -3586,13 +3588,13 @@
i32.sub
get_local $8
i32.or
br_if $folding-inner0
br_if $folding-inner1
get_local $6
get_local $2
get_local $0
f64.sub
f64.le
br_if $folding-inner0
br_if $folding-inner1
end
end
get_local $5
@@ -3610,12 +3612,12 @@
i32.const 1071644672
i32.gt_s
if
get_local $5
i32.const 1048576
get_local $10
i32.const 1
i32.add
i32.shr_s
get_local $5
i32.add
tee_local $7
i32.const 2147483647
@@ -3625,12 +3627,12 @@
i32.const 1023
i32.sub
set_local $10
get_local $7
i32.const 1048575
get_local $10
i32.shr_s
i32.const -1
i32.xor
get_local $7
i32.and
i64.extend_s/i32
i64.const 32
@@ -3768,16 +3770,16 @@
return
end
get_local $13
f64.const 1e-300
f64.const 1.e+300
f64.mul
f64.const 1e-300
f64.const 1.e+300
f64.mul
return
end
get_local $13
f64.const 1.e+300
f64.const 1e-300
f64.mul
f64.const 1.e+300
f64.const 1e-300
f64.mul
)
(func $std/libm/pow (; 44 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64)

File diff suppressed because it is too large Load Diff

View File

@@ -580,12 +580,12 @@
i32.const 1072693248
i32.ge_u
if
get_local $2
i32.const 1072693248
i32.sub
get_local $0
i64.reinterpret/f64
i32.wrap/i64
get_local $2
i32.const 1072693248
i32.sub
i32.or
i32.eqz
if
@@ -1007,6 +1007,9 @@
f64.const 0
end
set_local $4
get_local $7
i64.const 4294967295
i64.and
get_local $5
i32.const 1048575
i32.and
@@ -1015,9 +1018,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $7
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -1178,7 +1178,6 @@
end
end
end
get_local $3
get_local $1
i32.const 614242
i32.add
@@ -1187,8 +1186,12 @@
i32.shr_s
i32.const 1023
i32.sub
get_local $3
i32.add
set_local $3
get_local $4
i64.const 4294967295
i64.and
get_local $1
i32.const 1048575
i32.and
@@ -1197,9 +1200,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $4
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -1585,7 +1585,6 @@
end
end
end
get_local $3
get_local $1
i32.const 4913933
i32.add
@@ -1594,6 +1593,7 @@
i32.shr_s
i32.const 127
i32.sub
get_local $3
i32.add
set_local $3
get_local $1
@@ -1729,12 +1729,12 @@
i32.const 1072693248
i32.ge_u
if
get_local $2
i32.const 1072693248
i32.sub
get_local $0
i64.reinterpret/f64
i32.wrap/i64
get_local $2
i32.const 1072693248
i32.sub
i32.or
i32.eqz
if
@@ -2751,7 +2751,6 @@
(local $5 i32)
(local $6 i64)
(local $7 i32)
block $folding-inner0
get_local $1
get_local $1
f64.ne
@@ -2801,25 +2800,25 @@
call $~lib/math/NativeMath.atan
return
end
get_local $5
i32.const 31
i32.shr_u
get_local $4
i32.const 30
i32.shr_u
i32.const 2
i32.and
get_local $5
i32.const 31
i32.shr_u
i32.or
set_local $3
get_local $4
i32.const 2147483647
i32.and
set_local $4
get_local $7
get_local $5
i32.const 2147483647
i32.and
tee_local $5
get_local $7
i32.or
i32.eqz
if
@@ -2848,8 +2847,9 @@
return
end
end
get_local $4
block $folding-inner0
get_local $2
get_local $4
i32.or
i32.eqz
br_if $folding-inner0
@@ -3019,7 +3019,6 @@
(local $3 i32)
(local $4 i32)
(local $5 i32)
block $folding-inner0
get_local $1
get_local $1
f32.ne
@@ -3051,14 +3050,14 @@
call $~lib/math/NativeMathf.atan
return
end
get_local $4
i32.const 31
i32.shr_u
get_local $5
i32.const 30
i32.shr_u
i32.const 2
i32.and
get_local $4
i32.const 31
i32.shr_u
i32.or
set_local $3
get_local $5
@@ -3096,6 +3095,7 @@
return
end
end
block $folding-inner0
get_local $5
i32.eqz
br_if $folding-inner0
@@ -3438,10 +3438,10 @@
i32.add
end
set_local $3
get_local $3
get_local $5
i32.const -2147483648
i32.and
get_local $3
i32.or
f32.reinterpret/i32
f64.promote/f32
@@ -5009,7 +5009,6 @@
end
end
end
get_local $4
get_local $1
i32.const 614242
i32.add
@@ -5018,8 +5017,12 @@
i32.shr_u
i32.const 1023
i32.sub
get_local $4
i32.add
set_local $4
get_local $5
i64.const 4294967295
i64.and
get_local $1
i32.const 1048575
i32.and
@@ -5028,9 +5031,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $5
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -5222,7 +5222,6 @@
end
end
end
get_local $2
get_local $1
i32.const 4913933
i32.add
@@ -5231,6 +5230,7 @@
i32.shr_u
i32.const 127
i32.sub
get_local $2
i32.add
set_local $2
get_local $1
@@ -5438,7 +5438,6 @@
end
end
end
get_local $5
get_local $1
i32.const 614242
i32.add
@@ -5447,8 +5446,12 @@
i32.shr_u
i32.const 1023
i32.sub
get_local $5
i32.add
set_local $5
get_local $6
i64.const 4294967295
i64.and
get_local $1
i32.const 1048575
i32.and
@@ -5457,9 +5460,6 @@
i64.extend_u/i32
i64.const 32
i64.shl
get_local $6
i64.const 4294967295
i64.and
i64.or
f64.reinterpret/i64
f64.const 1
@@ -5646,7 +5646,6 @@
end
end
end
get_local $2
get_local $1
i32.const 4913933
i32.add
@@ -5655,6 +5654,7 @@
i32.shr_u
i32.const 127
i32.sub
get_local $2
i32.add
set_local $2
get_local $1
@@ -5803,7 +5803,6 @@
(local $7 i64)
(local $8 i64)
(local $9 i64)
block $folding-inner0
get_local $0
i64.reinterpret/f64
tee_local $2
@@ -5856,6 +5855,7 @@
f64.div
return
end
block $folding-inner0
get_local $2
i64.const 1
i64.shl
@@ -5863,8 +5863,8 @@
get_local $7
i64.le_u
if
get_local $9
get_local $7
get_local $9
i64.eq
br_if $folding-inner0
get_local $0
@@ -6030,7 +6030,6 @@
(local $6 i32)
(local $7 i32)
(local $8 i32)
block $folding-inner0
get_local $0
i32.reinterpret/f32
tee_local $2
@@ -6082,6 +6081,7 @@
f32.div
return
end
block $folding-inner0
get_local $2
i32.const 1
i32.shl
@@ -6188,6 +6188,7 @@
tee_local $5
i32.shl
set_local $2
get_local $8
get_local $3
get_local $5
i32.sub
@@ -6210,7 +6211,6 @@
i32.shr_u
end
tee_local $2
get_local $8
i32.or
f32.reinterpret/i32
return
@@ -6247,8 +6247,6 @@
(local $18 i32)
(local $19 f64)
(local $20 i32)
block $folding-inner1
block $folding-inner0
get_local $0
i64.reinterpret/f64
tee_local $17
@@ -6269,10 +6267,11 @@
i64.const 32
i64.shr_u
i32.wrap/i64
tee_local $11
tee_local $12
i32.const 2147483647
i32.and
tee_local $12
set_local $11
get_local $11
get_local $17
i32.wrap/i64
tee_local $7
@@ -6302,7 +6301,7 @@
get_local $8
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.gt_s
set_local $8
@@ -6310,7 +6309,7 @@
get_local $8
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.eq
tee_local $8
@@ -6332,20 +6331,20 @@
i32.const 0
i32.lt_s
if
get_local $12
get_local $11
i32.const 1128267776
i32.ge_s
if
i32.const 2
set_local $16
else
get_local $12
get_local $11
i32.const 1072693248
i32.ge_s
if
i32.const 52
i32.const 20
get_local $12
get_local $11
i32.const 20
i32.shr_s
i32.const 1023
@@ -6359,13 +6358,14 @@
i32.sub
set_local $8
get_local $7
get_local $12
get_local $11
get_local $5
select
tee_local $10
get_local $8
i32.shr_s
tee_local $5
set_local $5
get_local $5
get_local $8
i32.shl
get_local $10
@@ -6384,7 +6384,7 @@
get_local $7
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.eq
if
@@ -6398,7 +6398,7 @@
i32.const 1072693248
i32.ge_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if
@@ -6408,7 +6408,7 @@
get_local $1
return
else
get_local $11
get_local $12
i32.const 0
i32.ge_s
if (result f64)
@@ -6427,11 +6427,11 @@
end
unreachable
end
get_local $12
get_local $11
i32.const 1072693248
i32.eq
if
get_local $11
get_local $12
i32.const 0
i32.ge_s
if
@@ -6443,7 +6443,7 @@
f64.div
return
end
get_local $11
get_local $12
i32.const 1073741824
i32.eq
if
@@ -6452,7 +6452,7 @@
f64.mul
return
end
get_local $11
get_local $12
i32.const 1071644672
i32.eq
if
@@ -6492,7 +6492,7 @@
end
get_local $5
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if
@@ -6558,11 +6558,11 @@
set_local $13
end
end
get_local $12
get_local $11
i32.const 1105199104
i32.gt_s
if (result f64)
get_local $12
get_local $11
i32.const 1139802112
i32.gt_s
if
@@ -6570,7 +6570,7 @@
i32.const 1072693247
i32.le_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if (result f64)
@@ -6585,7 +6585,7 @@
i32.const 1072693248
i32.ge_s
if
get_local $11
get_local $12
i32.const 0
i32.gt_s
if (result f64)
@@ -6601,7 +6601,7 @@
i32.const 1072693247
i32.lt_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if (result f64)
@@ -6624,7 +6624,7 @@
i32.const 1072693248
i32.gt_s
if
get_local $11
get_local $12
i32.const 0
i32.gt_s
if (result f64)
@@ -6703,12 +6703,12 @@
i32.wrap/i64
set_local $4
end
get_local $7
get_local $4
i32.const 20
i32.shr_s
i32.const 1023
i32.sub
get_local $7
i32.add
set_local $7
get_local $4
@@ -6959,6 +6959,8 @@
tee_local $17
i32.wrap/i64
set_local $8
block $folding-inner1
block $folding-inner0
get_local $17
i64.const 32
i64.shr_u
@@ -6972,7 +6974,7 @@
i32.sub
get_local $8
i32.or
br_if $folding-inner1
br_if $folding-inner0
get_local $6
f64.const 8.008566259537294e-17
f64.add
@@ -6980,7 +6982,7 @@
get_local $0
f64.sub
f64.gt
br_if $folding-inner1
br_if $folding-inner0
else
get_local $5
i32.const 2147483647
@@ -6993,13 +6995,13 @@
i32.sub
get_local $8
i32.or
br_if $folding-inner0
br_if $folding-inner1
get_local $6
get_local $2
get_local $0
f64.sub
f64.le
br_if $folding-inner0
br_if $folding-inner1
end
end
get_local $5
@@ -7017,12 +7019,12 @@
i32.const 1071644672
i32.gt_s
if
get_local $5
i32.const 1048576
get_local $10
i32.const 1
i32.add
i32.shr_s
get_local $5
i32.add
tee_local $7
i32.const 2147483647
@@ -7032,12 +7034,12 @@
i32.const 1023
i32.sub
set_local $10
get_local $7
i32.const 1048575
get_local $10
i32.shr_s
i32.const -1
i32.xor
get_local $7
i32.and
i64.extend_s/i32
i64.const 32
@@ -7175,16 +7177,16 @@
return
end
get_local $13
f64.const 1e-300
f64.const 1.e+300
f64.mul
f64.const 1e-300
f64.const 1.e+300
f64.mul
return
end
get_local $13
f64.const 1.e+300
f64.const 1e-300
f64.mul
f64.const 1.e+300
f64.const 1e-300
f64.mul
)
(func $std/math/test_pow (; 118 ;) (type $FFFFii) (param $0 f64) (param $1 f64) (param $2 f64) (param $3 f64) (param $4 i32) (result i32)
@@ -7225,8 +7227,6 @@
(local $15 f32)
(local $16 f32)
(local $17 f32)
block $folding-inner1
block $folding-inner0
get_local $0
i32.reinterpret/f32
tee_local $7
@@ -7574,12 +7574,12 @@
i32.reinterpret/f32
set_local $6
end
get_local $4
get_local $6
i32.const 23
i32.shr_s
i32.const 127
i32.sub
get_local $4
i32.add
set_local $4
get_local $6
@@ -7795,6 +7795,7 @@
f32.sub
end
set_local $2
block $folding-inner1
get_local $1
get_local $1
i32.reinterpret/f32
@@ -7820,7 +7821,8 @@
tee_local $8
i32.const 1124073472
i32.gt_s
br_if $folding-inner0
br_if $folding-inner1
block $folding-inner0
get_local $8
i32.const 1124073472
i32.eq
@@ -7832,7 +7834,7 @@
get_local $0
f32.sub
f32.gt
br_if $folding-inner0
br_if $folding-inner1
else
get_local $8
i32.const 2147483647
@@ -7840,7 +7842,7 @@
i32.const 1125515264
i32.gt_s
if
br $folding-inner1
br $folding-inner0
else
get_local $8
i32.const -1021968384
@@ -7851,7 +7853,7 @@
get_local $0
f32.sub
f32.le
br_if $folding-inner1
br_if $folding-inner0
end
end
end
@@ -7870,12 +7872,12 @@
i32.const 1056964608
i32.gt_s
if
get_local $8
i32.const 8388608
get_local $7
i32.const 1
i32.add
i32.shr_s
get_local $8
i32.add
tee_local $4
i32.const 2147483647
@@ -7885,12 +7887,12 @@
i32.const 127
i32.sub
set_local $7
get_local $4
i32.const 8388607
get_local $7
i32.shr_s
i32.const -1
i32.xor
get_local $4
i32.and
f32.reinterpret/i32
set_local $3
@@ -8014,16 +8016,16 @@
return
end
get_local $10
f32.const 1000000015047466219876688e6
f32.const 1.0000000031710769e-30
f32.mul
f32.const 1000000015047466219876688e6
f32.const 1.0000000031710769e-30
f32.mul
return
end
get_local $10
f32.const 1.0000000031710769e-30
f32.const 1000000015047466219876688e6
f32.mul
f32.const 1.0000000031710769e-30
f32.const 1000000015047466219876688e6
f32.mul
)
(func $std/math/test_powf (; 120 ;) (type $ffffii) (param $0 f32) (param $1 f32) (param $2 f32) (param $3 f32) (param $4 i32) (result i32)
@@ -8049,15 +8051,15 @@
i32.mul
tee_local $0
get_local $0
get_local $0
i32.const 61
i32.or
get_local $0
i32.const 7
i32.shr_u
i32.xor
get_local $0
i32.const 61
i32.or
i32.xor
i32.mul
get_local $0
i32.add
i32.xor
tee_local $0
@@ -8081,9 +8083,9 @@
i32.const 1
set_global $~lib/math/random_seeded
get_local $0
get_local $0
i64.const 33
i64.shr_u
get_local $0
i64.xor
i64.const -49064778989728563
i64.mul
@@ -8149,17 +8151,17 @@
get_global $~lib/math/random_state1_64
tee_local $1
set_global $~lib/math/random_state0_64
get_local $0
get_local $1
get_local $0
i64.const 23
i64.shl
get_local $0
i64.xor
tee_local $0
get_local $0
i64.const 17
i64.shr_u
i64.xor
get_local $1
i64.xor
get_local $1
i64.const 26
@@ -8167,8 +8169,8 @@
i64.xor
tee_local $0
set_global $~lib/math/random_state1_64
get_local $1
get_local $0
get_local $1
i64.add
i64.const 4503599627370495
i64.and
@@ -8191,26 +8193,25 @@
call $~lib/env/abort
unreachable
end
get_global $~lib/math/random_state1_32
get_global $~lib/math/random_state0_32
tee_local $1
tee_local $0
get_global $~lib/math/random_state1_32
i32.xor
set_local $0
get_local $1
tee_local $1
get_local $0
i32.const 26
i32.rotl
get_local $0
i32.xor
get_local $0
get_local $1
i32.const 9
i32.shl
i32.xor
set_global $~lib/math/random_state0_32
get_local $0
get_local $1
i32.const 13
i32.rotl
set_global $~lib/math/random_state1_32
get_local $1
get_local $0
i32.const -1640531525
i32.mul
i32.const 5
@@ -9344,8 +9345,8 @@
i32.const 1
i32.and
if
get_local $2
get_local $0
get_local $2
i64.mul
set_local $2
end
@@ -9362,8 +9363,8 @@
i32.const 1
i32.and
if
get_local $2
get_local $0
get_local $2
i64.mul
set_local $2
end
@@ -9380,8 +9381,8 @@
i32.const 1
i32.and
if
get_local $2
get_local $0
get_local $2
i64.mul
set_local $2
end
@@ -9398,8 +9399,8 @@
i32.const 1
i32.and
if
get_local $2
get_local $0
get_local $2
i64.mul
set_local $2
end
@@ -9416,8 +9417,8 @@
i32.const 1
i32.and
if
get_local $2
get_local $0
get_local $2
i64.mul
set_local $2
end
@@ -9434,8 +9435,8 @@
i32.const 1
i32.and
if
get_local $2
get_local $0
get_local $2
i64.mul
set_local $2
end
@@ -31369,8 +31370,8 @@
call $~lib/bindings/Math/random
i64.reinterpret/f64
call $~lib/math/NativeMath.seedRandom
block $break|0
loop $repeat|0
block $break|0
get_local $0
f64.convert_s/i32
f64.const 1e6
@@ -31404,17 +31405,15 @@
unreachable
end
unreachable
unreachable
end
unreachable
end
call $~lib/bindings/Math/random
i64.reinterpret/f64
call $~lib/math/NativeMath.seedRandom
block $break|1
i32.const 0
set_local $0
loop $repeat|1
block $break|1
get_local $0
f64.convert_s/i32
f64.const 1e6
@@ -31448,9 +31447,7 @@
unreachable
end
unreachable
unreachable
end
unreachable
end
f64.const -8.06684839057968
f64.const -8

View File

@@ -26,7 +26,6 @@
(local $7 i64)
(local $8 i64)
(local $9 i64)
block $folding-inner0
get_local $0
i64.reinterpret/f64
tee_local $2
@@ -79,6 +78,7 @@
f64.div
return
end
block $folding-inner0
get_local $2
i64.const 1
i64.shl
@@ -86,8 +86,8 @@
get_local $7
i64.le_u
if
get_local $9
get_local $7
get_local $9
i64.eq
br_if $folding-inner0
get_local $0
@@ -279,7 +279,6 @@
(local $6 i32)
(local $7 i32)
(local $8 i32)
block $folding-inner0
get_local $0
i32.reinterpret/f32
tee_local $2
@@ -331,6 +330,7 @@
f32.div
return
end
block $folding-inner0
get_local $2
i32.const 1
i32.shl
@@ -437,6 +437,7 @@
tee_local $5
i32.shl
set_local $2
get_local $8
get_local $3
get_local $5
i32.sub
@@ -459,7 +460,6 @@
i32.shr_u
end
tee_local $2
get_local $8
i32.or
f32.reinterpret/i32
return

View File

@@ -250,8 +250,6 @@
(local $18 i32)
(local $19 f64)
(local $20 i32)
block $folding-inner1
block $folding-inner0
get_local $0
i64.reinterpret/f64
tee_local $17
@@ -272,10 +270,11 @@
i64.const 32
i64.shr_u
i32.wrap/i64
tee_local $11
tee_local $12
i32.const 2147483647
i32.and
tee_local $12
set_local $11
get_local $11
get_local $17
i32.wrap/i64
tee_local $7
@@ -305,7 +304,7 @@
get_local $8
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.gt_s
set_local $8
@@ -313,7 +312,7 @@
get_local $8
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.eq
tee_local $8
@@ -335,20 +334,20 @@
i32.const 0
i32.lt_s
if
get_local $12
get_local $11
i32.const 1128267776
i32.ge_s
if
i32.const 2
set_local $16
else
get_local $12
get_local $11
i32.const 1072693248
i32.ge_s
if
i32.const 52
i32.const 20
get_local $12
get_local $11
i32.const 20
i32.shr_s
i32.const 1023
@@ -362,13 +361,14 @@
i32.sub
set_local $8
get_local $7
get_local $12
get_local $11
get_local $5
select
tee_local $10
get_local $8
i32.shr_s
tee_local $5
set_local $5
get_local $5
get_local $8
i32.shl
get_local $10
@@ -387,7 +387,7 @@
get_local $7
i32.eqz
if
get_local $12
get_local $11
i32.const 2146435072
i32.eq
if
@@ -401,7 +401,7 @@
i32.const 1072693248
i32.ge_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if
@@ -411,7 +411,7 @@
get_local $1
return
else
get_local $11
get_local $12
i32.const 0
i32.ge_s
if (result f64)
@@ -430,11 +430,11 @@
end
unreachable
end
get_local $12
get_local $11
i32.const 1072693248
i32.eq
if
get_local $11
get_local $12
i32.const 0
i32.ge_s
if
@@ -446,7 +446,7 @@
f64.div
return
end
get_local $11
get_local $12
i32.const 1073741824
i32.eq
if
@@ -455,7 +455,7 @@
f64.mul
return
end
get_local $11
get_local $12
i32.const 1071644672
i32.eq
if
@@ -495,7 +495,7 @@
end
get_local $5
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if
@@ -561,11 +561,11 @@
set_local $13
end
end
get_local $12
get_local $11
i32.const 1105199104
i32.gt_s
if (result f64)
get_local $12
get_local $11
i32.const 1139802112
i32.gt_s
if
@@ -573,7 +573,7 @@
i32.const 1072693247
i32.le_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if (result f64)
@@ -588,7 +588,7 @@
i32.const 1072693248
i32.ge_s
if
get_local $11
get_local $12
i32.const 0
i32.gt_s
if (result f64)
@@ -604,7 +604,7 @@
i32.const 1072693247
i32.lt_s
if
get_local $11
get_local $12
i32.const 0
i32.lt_s
if (result f64)
@@ -627,7 +627,7 @@
i32.const 1072693248
i32.gt_s
if
get_local $11
get_local $12
i32.const 0
i32.gt_s
if (result f64)
@@ -706,12 +706,12 @@
i32.wrap/i64
set_local $4
end
get_local $7
get_local $4
i32.const 20
i32.shr_s
i32.const 1023
i32.sub
get_local $7
i32.add
set_local $7
get_local $4
@@ -962,6 +962,8 @@
tee_local $17
i32.wrap/i64
set_local $8
block $folding-inner1
block $folding-inner0
get_local $17
i64.const 32
i64.shr_u
@@ -975,7 +977,7 @@
i32.sub
get_local $8
i32.or
br_if $folding-inner1
br_if $folding-inner0
get_local $6
f64.const 8.008566259537294e-17
f64.add
@@ -983,7 +985,7 @@
get_local $0
f64.sub
f64.gt
br_if $folding-inner1
br_if $folding-inner0
else
get_local $5
i32.const 2147483647
@@ -996,13 +998,13 @@
i32.sub
get_local $8
i32.or
br_if $folding-inner0
br_if $folding-inner1
get_local $6
get_local $2
get_local $0
f64.sub
f64.le
br_if $folding-inner0
br_if $folding-inner1
end
end
get_local $5
@@ -1020,12 +1022,12 @@
i32.const 1071644672
i32.gt_s
if
get_local $5
i32.const 1048576
get_local $10
i32.const 1
i32.add
i32.shr_s
get_local $5
i32.add
tee_local $7
i32.const 2147483647
@@ -1035,12 +1037,12 @@
i32.const 1023
i32.sub
set_local $10
get_local $7
i32.const 1048575
get_local $10
i32.shr_s
i32.const -1
i32.xor
get_local $7
i32.and
i64.extend_s/i32
i64.const 32
@@ -1178,16 +1180,16 @@
return
end
get_local $13
f64.const 1e-300
f64.const 1.e+300
f64.mul
f64.const 1e-300
f64.const 1.e+300
f64.mul
return
end
get_local $13
f64.const 1.e+300
f64.const 1e-300
f64.mul
f64.const 1.e+300
f64.const 1e-300
f64.mul
)
(func $std/operator-overloading/Tester.pow (; 5 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
@@ -2138,8 +2140,8 @@
i32.eqz
set_local $0
end
get_local $1
get_local $0
get_local $1
i32.ne
if
i32.const 0

View File

@@ -295,9 +295,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
@@ -305,14 +302,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
@@ -320,14 +317,14 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
@@ -335,14 +332,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
@@ -350,6 +347,9 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
@@ -404,9 +404,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
@@ -414,14 +411,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
@@ -429,14 +426,14 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
@@ -444,14 +441,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
@@ -459,6 +456,9 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $1
@@ -505,9 +505,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
@@ -515,14 +512,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
@@ -530,14 +527,14 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
@@ -545,14 +542,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
@@ -560,6 +557,9 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $1
@@ -1116,11 +1116,11 @@
if
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1135,11 +1135,11 @@
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1153,11 +1153,11 @@
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2

File diff suppressed because it is too large Load Diff

View File

@@ -98,24 +98,24 @@
if
return
end
get_local $0
i32.const 0
get_local $0
i32.sub
i32.const 3
i32.and
tee_local $2
get_local $0
i32.add
tee_local $0
i32.const 0
i32.store
get_local $0
get_local $1
get_local $2
i32.sub
i32.const -4
i32.and
tee_local $1
get_local $0
i32.add
i32.const 4
i32.sub
@@ -200,12 +200,12 @@
i32.const 0
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $2
get_local $0
i32.add
set_local $0
get_local $1
@@ -569,9 +569,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
@@ -579,14 +576,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
@@ -594,14 +591,14 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
@@ -609,14 +606,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
@@ -624,6 +621,9 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
@@ -678,9 +678,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
@@ -688,14 +685,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
@@ -703,14 +700,14 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
@@ -718,14 +715,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
@@ -733,6 +730,9 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $1
@@ -779,9 +779,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
@@ -789,14 +786,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
@@ -804,14 +801,14 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
@@ -819,14 +816,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
@@ -834,6 +831,9 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $1
@@ -1387,11 +1387,11 @@
if
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1406,11 +1406,11 @@
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1424,11 +1424,11 @@
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1498,8 +1498,8 @@
i32.add
get_local $2
call $~lib/internal/memory/memmove
get_local $4
get_local $2
get_local $4
i32.add
get_local $1
get_local $2

View File

@@ -40,10 +40,10 @@
get_local $4
i32.lt_u
if
get_local $0
get_local $2
i32.const 1
i32.shl
get_local $0
i32.add
i32.load16_u offset=4
tee_local $3
@@ -86,12 +86,12 @@
end
get_local $3
if
get_local $0
get_local $2
i32.const 1
i32.add
i32.const 1
i32.shl
get_local $0
i32.add
i32.load16_u offset=4
i32.const 64512
@@ -208,18 +208,18 @@
get_local $7
i32.lt_u
if
get_local $0
get_local $3
i32.const 1
i32.shl
get_local $0
i32.add
i32.load16_u offset=4
tee_local $1
i32.const 128
i32.lt_u
if
get_local $5
get_local $2
get_local $5
i32.add
get_local $1
i32.store8
@@ -232,8 +232,8 @@
i32.const 2048
i32.lt_u
if
get_local $5
get_local $2
get_local $5
i32.add
tee_local $4
get_local $1
@@ -254,8 +254,8 @@
i32.add
set_local $2
else
get_local $5
get_local $2
get_local $5
i32.add
set_local $4
get_local $1
@@ -274,12 +274,12 @@
end
get_local $6
if
get_local $0
get_local $3
i32.const 1
i32.add
i32.const 1
i32.shl
get_local $0
i32.add
i32.load16_u offset=4
tee_local $6
@@ -378,8 +378,8 @@
br $continue|0
end
end
get_local $5
get_local $2
get_local $5
i32.add
i32.const 0
i32.store8
@@ -651,9 +651,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 1
i32.add
@@ -661,14 +658,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 5
i32.add
@@ -676,14 +673,14 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 24
i32.shr_u
get_local $1
i32.const 9
i32.add
@@ -691,14 +688,14 @@
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 24
i32.shr_u
get_local $1
i32.const 13
i32.add
@@ -706,6 +703,9 @@
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
@@ -760,9 +760,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 2
i32.add
@@ -770,14 +767,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 6
i32.add
@@ -785,14 +782,14 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 16
i32.shr_u
get_local $1
i32.const 10
i32.add
@@ -800,14 +797,14 @@
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 16
i32.shr_u
get_local $1
i32.const 14
i32.add
@@ -815,6 +812,9 @@
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $1
@@ -861,9 +861,6 @@
i32.ge_u
if
get_local $0
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 3
i32.add
@@ -871,14 +868,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 7
i32.add
@@ -886,14 +883,14 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $5
i32.const 8
i32.shr_u
get_local $1
i32.const 11
i32.add
@@ -901,14 +898,14 @@
tee_local $3
i32.const 24
i32.shl
get_local $5
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $3
i32.const 8
i32.shr_u
get_local $1
i32.const 15
i32.add
@@ -916,6 +913,9 @@
tee_local $5
i32.const 24
i32.shl
get_local $3
i32.const 8
i32.shr_u
i32.or
i32.store
get_local $1
@@ -1469,11 +1469,11 @@
if
return
end
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1488,11 +1488,11 @@
i32.const 8
i32.ge_u
if
get_local $0
get_local $2
i32.const 8
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1506,11 +1506,11 @@
loop $continue|5
get_local $2
if
get_local $0
get_local $2
i32.const 1
i32.sub
tee_local $2
get_local $0
i32.add
get_local $1
get_local $2
@@ -1558,8 +1558,8 @@
i32.const 128
i32.lt_u
if (result i32)
get_local $6
get_local $4
get_local $6
i32.add
get_local $3
i32.store16
@@ -1597,20 +1597,20 @@
i32.const 1
i32.add
set_local $2
get_local $6
get_local $4
get_local $6
i32.add
get_local $3
i32.const 31
i32.and
i32.const 6
i32.shl
get_local $0
get_local $5
i32.add
i32.load8_u
i32.const 63
i32.and
get_local $3
i32.const 31
i32.and
i32.const 6
i32.shl
i32.or
i32.store16
else
@@ -1639,17 +1639,17 @@
call $~lib/env/abort
unreachable
end
get_local $6
get_local $4
get_local $6
i32.add
get_local $3
i32.const 7
i32.and
i32.const 18
i32.shl
get_local $0
get_local $2
tee_local $5
get_local $0
i32.add
i32.load8_u
i32.const 63
@@ -1657,11 +1657,11 @@
i32.const 12
i32.shl
i32.or
get_local $0
get_local $2
i32.const 1
i32.add
tee_local $2
get_local $0
i32.add
i32.load8_u
i32.const 63
@@ -1670,11 +1670,11 @@
i32.shl
i32.or
tee_local $3
get_local $0
get_local $2
i32.const 1
i32.add
tee_local $2
get_local $0
i32.add
i32.load8_u
i32.const 63
@@ -1714,17 +1714,17 @@
call $~lib/env/abort
unreachable
end
get_local $6
get_local $4
get_local $6
i32.add
get_local $3
i32.const 15
i32.and
i32.const 12
i32.shl
get_local $0
get_local $2
tee_local $5
get_local $0
i32.add
i32.load8_u
i32.const 63
@@ -1733,11 +1733,11 @@
i32.shl
i32.or
tee_local $3
get_local $0
get_local $2
i32.const 1
i32.add
tee_local $2
get_local $0
i32.add
i32.load8_u
i32.const 63
@@ -1758,8 +1758,8 @@
br $continue|0
end
end
get_local $2
get_local $1
get_local $2
i32.ne
if
i32.const 0

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -245,11 +245,11 @@
i32.mul
tee_local $1
i32.store
get_local $0
get_local $2
i32.const -4
i32.and
tee_local $2
get_local $0
i32.add
i32.const 4
i32.sub
@@ -334,12 +334,12 @@
get_local $1
i32.store
get_local $0
get_local $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $3
get_local $0
i32.add
set_local $0
get_local $2
@@ -600,9 +600,9 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
get_local $0
i32.ne
if
i32.const 0
@@ -636,9 +636,9 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
get_local $0
i32.ne
if
i32.const 0
@@ -672,9 +672,9 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
get_local $0
i32.ne
if
i32.const 0
@@ -710,11 +710,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 1
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -750,11 +750,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 1
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -790,11 +790,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 2
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -830,11 +830,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 2
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -870,11 +870,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 3
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -910,11 +910,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 3
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -950,11 +950,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 2
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -990,11 +990,11 @@
call $~lib/env/abort
unreachable
end
get_local $0
get_local $1
i32.load offset=8
i32.const 3
i32.shr_u
get_local $0
i32.ne
if
i32.const 0
@@ -1076,8 +1076,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $2
get_local $1
get_local $2
i32.add
tee_local $2
get_local $3
@@ -1312,7 +1312,6 @@
i32.const 0
get_local $4
call $~lib/internal/memory/memset
block $break|0
get_local $2
i32.const 1
i32.sub
@@ -1320,20 +1319,20 @@
loop $repeat|0
get_local $5
i32.const 0
i32.le_s
br_if $break|0
i32.gt_s
if
get_local $5
set_local $4
loop $continue|1
get_local $4
i32.const 1
i32.and
get_local $9
get_local $4
i32.const 6
i32.shr_s
i32.const 2
i32.shl
get_local $9
i32.add
i32.load
get_local $4
@@ -1366,10 +1365,10 @@
i32.add
f64.load offset=8
set_local $8
get_local $10
get_local $5
i32.const 3
i32.shl
get_local $10
i32.add
f64.load offset=8
set_local $7
@@ -1382,12 +1381,12 @@
i32.const 0
i32.lt_s
if
get_local $9
get_local $5
i32.const 5
i32.shr_s
i32.const 2
i32.shl
get_local $9
i32.add
tee_local $4
get_local $4
@@ -1409,10 +1408,10 @@
i32.add
get_local $8
f64.store offset=8
get_local $4
get_local $6
i32.const 3
i32.shl
get_local $4
i32.add
get_local $7
f64.store offset=8
@@ -1422,11 +1421,8 @@
i32.sub
set_local $5
br $repeat|0
unreachable
end
unreachable
end
block $break|2
get_local $2
i32.const 1
i32.sub
@@ -1434,8 +1430,8 @@
loop $repeat|2
get_local $5
i32.const 2
i32.lt_s
br_if $break|2
i32.ge_s
if
get_local $0
get_local $1
i32.add
@@ -1443,29 +1439,28 @@
f64.load offset=8
set_local $7
get_local $2
get_local $2
get_local $5
i32.const 3
i32.shl
tee_local $4
get_local $2
i32.add
tee_local $2
f64.load offset=8
f64.store offset=8
get_local $2
get_local $4
i32.add
get_local $7
f64.store offset=8
i32.const 1
set_local $6
loop $continue|3
get_local $6
i32.const 1
i32.shl
get_local $9
get_local $6
i32.const 5
i32.shr_s
i32.const 2
i32.shl
get_local $9
i32.add
i32.load
get_local $6
@@ -1474,6 +1469,9 @@
i32.shr_u
i32.const 1
i32.and
get_local $6
i32.const 1
i32.shl
i32.add
tee_local $4
get_local $5
@@ -1495,10 +1493,10 @@
tee_local $2
f64.load offset=8
set_local $7
get_local $2
get_local $6
i32.const 3
i32.shl
get_local $2
i32.add
f64.load offset=8
set_local $8
@@ -1511,12 +1509,12 @@
i32.const 0
i32.lt_s
if
get_local $9
get_local $6
i32.const 5
i32.shr_s
i32.const 2
i32.shl
get_local $9
i32.add
tee_local $2
get_local $2
@@ -1554,9 +1552,7 @@
i32.sub
set_local $5
br $repeat|2
unreachable
end
unreachable
end
get_local $0
get_local $1
@@ -1603,15 +1599,15 @@
i32.const 2
i32.eq
if
get_local $3
get_local $2
get_local $3
i32.add
i32.const 8
i32.add
f64.load offset=8
set_local $5
get_local $3
get_local $2
get_local $3
i32.add
f64.load offset=8
set_local $6
@@ -1624,8 +1620,8 @@
i32.const 0
i32.lt_s
if
get_local $3
get_local $2
get_local $3
i32.add
tee_local $1
i32.const 8
@@ -1725,12 +1721,12 @@
call $~lib/env/abort
unreachable
end
get_local $1
get_local $0
i32.load
get_local $0
i32.load offset=4
i32.add
get_local $1
i32.add
get_local $2
i32.store8 offset=8
@@ -1766,12 +1762,12 @@
call $~lib/env/abort
unreachable
end
get_local $1
get_local $0
i32.load
get_local $0
i32.load offset=4
i32.add
get_local $1
i32.add
i32.load8_u offset=8
)
@@ -1793,8 +1789,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $4
get_local $2
get_local $4
i32.add
tee_local $5
i32.const 0
@@ -1816,8 +1812,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $4
get_local $3
get_local $4
i32.add
tee_local $5
i32.const 0
@@ -1837,8 +1833,8 @@
tee_local $3
i32.lt_s
if
get_local $6
get_local $2
get_local $6
i32.add
get_local $7
i32.add
@@ -1865,12 +1861,12 @@
call $~lib/env/abort
unreachable
end
get_local $1
get_local $0
i32.load
get_local $0
i32.load offset=4
i32.add
get_local $1
i32.add
i32.load8_s offset=8
)
@@ -1878,7 +1874,6 @@
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
get_local $0
i32.load offset=8
get_local $1
@@ -1888,21 +1883,19 @@
i32.const 0
return
end
block $break|0
get_local $0
i32.load offset=8
set_local $4
loop $repeat|0
get_local $2
get_local $4
i32.ge_s
br_if $break|0
i32.lt_s
if
get_local $0
get_local $2
call $~lib/internal/typedarray/TypedArray<i8,i32>#__get
i32.const 255
i32.and
set_local $5
get_local $2
get_local $1
i32.load
@@ -1910,16 +1903,14 @@
i32.load
i32.lt_u
if (result i32)
get_local $3
get_local $2
get_local $3
i32.add
i32.load8_s offset=8
else
unreachable
end
set_local $3
get_local $5
get_local $3
tee_local $3
i32.const 255
i32.and
i32.ne
@@ -1934,9 +1925,7 @@
br $repeat|0
end
unreachable
unreachable
end
unreachable
end
i32.const 1
)
@@ -1981,8 +1970,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $2
get_local $1
get_local $2
i32.add
tee_local $2
get_local $3
@@ -2044,8 +2033,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $4
get_local $2
get_local $4
i32.add
tee_local $5
i32.const 0
@@ -2067,8 +2056,8 @@
i32.const 0
i32.lt_s
if (result i32)
get_local $4
get_local $3
get_local $4
i32.add
tee_local $5
i32.const 0
@@ -2114,19 +2103,17 @@
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
get_local $1
i32.load offset=4
get_local $0
i32.load offset=8
i32.const 2
i32.shr_u
get_local $1
i32.load offset=4
i32.ne
if
i32.const 0
return
end
block $break|0
get_local $0
i32.load offset=8
i32.const 2
@@ -2135,12 +2122,11 @@
loop $repeat|0
get_local $2
get_local $4
i32.ge_s
br_if $break|0
i32.lt_s
if
get_local $0
get_local $2
call $~lib/internal/typedarray/TypedArray<i32,i32>#__get
set_local $5
get_local $2
get_local $1
i32.load
@@ -2150,18 +2136,16 @@
i32.shr_u
i32.lt_u
if (result i32)
get_local $3
get_local $2
i32.const 2
i32.shl
get_local $3
i32.add
i32.load offset=8
else
unreachable
end
set_local $3
get_local $5
get_local $3
tee_local $3
i32.ne
if
i32.const 0
@@ -2174,9 +2158,7 @@
br $repeat|0
end
unreachable
unreachable
end
unreachable
end
i32.const 1
)