Update Binaryen to latest and rebuild dist files

This commit is contained in:
dcode
2019-02-05 17:12:10 +01:00
parent c95c0f5fbe
commit cd1cfe6957
194 changed files with 68272 additions and 68272 deletions

View File

@@ -7,7 +7,7 @@
(data (i32.const 16) "\01\00\00\00a\00")
(data (i32.const 24) "\02\00\00\00a\00b\00")
(data (i32.const 32) "\03\00\00\00a\00b\00c\00")
(table $0 1 anyfunc)
(table $0 1 funcref)
(elem (i32.const 0) $null)
(global $~lib/internal/allocator/AL_BITS i32 (i32.const 3))
(global $~lib/internal/allocator/AL_SIZE i32 (i32.const 8))
@@ -29,176 +29,176 @@
(local $1 i32)
(local $2 i32)
(local $3 i32)
get_global $~lib/internal/hash/FNV_OFFSET
set_local $1
global.get $~lib/internal/hash/FNV_OFFSET
local.set $1
block $break|0
block
i32.const 0
set_local $2
get_local $0
local.set $2
local.get $0
i32.load
i32.const 1
i32.shl
set_local $3
local.set $3
end
loop $repeat|0
get_local $2
get_local $3
local.get $2
local.get $3
i32.lt_u
i32.eqz
br_if $break|0
get_local $1
get_local $0
get_local $2
local.get $1
local.get $0
local.get $2
i32.add
i32.load8_u offset=4
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $1
get_local $2
local.set $1
local.get $2
i32.const 1
i32.add
set_local $2
local.set $2
br $repeat|0
unreachable
end
unreachable
end
get_local $1
local.get $1
)
(func $std/hash/check (; 1 ;) (type $ii) (param $0 i32) (result i32)
i32.const 1
)
(func $~lib/internal/hash/hash32 (; 2 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
get_global $~lib/internal/hash/FNV_OFFSET
set_local $1
get_local $1
get_local $0
global.get $~lib/internal/hash/FNV_OFFSET
local.set $1
local.get $1
local.get $0
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $1
get_local $1
get_local $0
local.set $1
local.get $1
local.get $0
i32.const 8
i32.shr_u
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $1
get_local $1
get_local $0
local.set $1
local.get $1
local.get $0
i32.const 16
i32.shr_u
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $1
get_local $1
get_local $0
local.set $1
local.get $1
local.get $0
i32.const 24
i32.shr_u
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $1
get_local $1
local.set $1
local.get $1
)
(func $~lib/internal/hash/hash64 (; 3 ;) (type $Ii) (param $0 i64) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
get_local $0
i32.wrap/i64
set_local $1
get_local $0
local.get $0
i32.wrap_i64
local.set $1
local.get $0
i64.const 32
i64.shr_u
i32.wrap/i64
set_local $2
get_global $~lib/internal/hash/FNV_OFFSET
set_local $3
get_local $3
get_local $1
i32.wrap_i64
local.set $2
global.get $~lib/internal/hash/FNV_OFFSET
local.set $3
local.get $3
local.get $1
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
get_local $1
local.set $3
local.get $3
local.get $1
i32.const 8
i32.shr_u
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
get_local $1
local.set $3
local.get $3
local.get $1
i32.const 16
i32.shr_u
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
get_local $1
local.set $3
local.get $3
local.get $1
i32.const 24
i32.shr_u
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
get_local $2
local.set $3
local.get $3
local.get $2
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
get_local $2
local.set $3
local.get $3
local.get $2
i32.const 8
i32.shr_u
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
get_local $2
local.set $3
local.get $3
local.get $2
i32.const 16
i32.shr_u
i32.const 255
i32.and
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
get_local $2
local.set $3
local.get $3
local.get $2
i32.const 24
i32.shr_u
i32.xor
get_global $~lib/internal/hash/FNV_PRIME
global.get $~lib/internal/hash/FNV_PRIME
i32.mul
set_local $3
get_local $3
local.set $3
local.get $3
)
(func $start (; 4 ;) (type $v)
(local $0 i32)
@@ -206,8 +206,8 @@
(local $2 f64)
block $~lib/internal/hash/HASH<String>|inlined.0 (result i32)
i32.const 0
set_local $0
get_local $0
local.set $0
local.get $0
call $~lib/internal/hash/hashStr
br $~lib/internal/hash/HASH<String>|inlined.0
end
@@ -215,8 +215,8 @@
drop
block $~lib/internal/hash/HASH<String>|inlined.1 (result i32)
i32.const 8
set_local $0
get_local $0
local.set $0
local.get $0
call $~lib/internal/hash/hashStr
br $~lib/internal/hash/HASH<String>|inlined.1
end
@@ -224,8 +224,8 @@
drop
block $~lib/internal/hash/HASH<String>|inlined.2 (result i32)
i32.const 16
set_local $0
get_local $0
local.set $0
local.get $0
call $~lib/internal/hash/hashStr
br $~lib/internal/hash/HASH<String>|inlined.2
end
@@ -233,8 +233,8 @@
drop
block $~lib/internal/hash/HASH<String>|inlined.3 (result i32)
i32.const 24
set_local $0
get_local $0
local.set $0
local.get $0
call $~lib/internal/hash/hashStr
br $~lib/internal/hash/HASH<String>|inlined.3
end
@@ -242,8 +242,8 @@
drop
block $~lib/internal/hash/HASH<String>|inlined.4 (result i32)
i32.const 32
set_local $0
get_local $0
local.set $0
local.get $0
call $~lib/internal/hash/hashStr
br $~lib/internal/hash/HASH<String>|inlined.4
end
@@ -251,9 +251,9 @@
drop
block $~lib/internal/hash/HASH<f32>|inlined.0 (result i32)
f32.const 0
set_local $1
get_local $1
i32.reinterpret/f32
local.set $1
local.get $1
i32.reinterpret_f32
call $~lib/internal/hash/hash32
br $~lib/internal/hash/HASH<f32>|inlined.0
end
@@ -261,9 +261,9 @@
drop
block $~lib/internal/hash/HASH<f32>|inlined.1 (result i32)
f32.const 1
set_local $1
get_local $1
i32.reinterpret/f32
local.set $1
local.get $1
i32.reinterpret_f32
call $~lib/internal/hash/hash32
br $~lib/internal/hash/HASH<f32>|inlined.1
end
@@ -271,9 +271,9 @@
drop
block $~lib/internal/hash/HASH<f32>|inlined.2 (result i32)
f32.const 1.100000023841858
set_local $1
get_local $1
i32.reinterpret/f32
local.set $1
local.get $1
i32.reinterpret_f32
call $~lib/internal/hash/hash32
br $~lib/internal/hash/HASH<f32>|inlined.2
end
@@ -281,9 +281,9 @@
drop
block $~lib/internal/hash/HASH<f32>|inlined.3 (result i32)
f32.const 0
set_local $1
get_local $1
i32.reinterpret/f32
local.set $1
local.get $1
i32.reinterpret_f32
call $~lib/internal/hash/hash32
br $~lib/internal/hash/HASH<f32>|inlined.3
end
@@ -291,9 +291,9 @@
drop
block $~lib/internal/hash/HASH<f32>|inlined.4 (result i32)
f32.const inf
set_local $1
get_local $1
i32.reinterpret/f32
local.set $1
local.get $1
i32.reinterpret_f32
call $~lib/internal/hash/hash32
br $~lib/internal/hash/HASH<f32>|inlined.4
end
@@ -301,9 +301,9 @@
drop
block $~lib/internal/hash/HASH<f32>|inlined.5 (result i32)
f32.const nan:0x400000
set_local $1
get_local $1
i32.reinterpret/f32
local.set $1
local.get $1
i32.reinterpret_f32
call $~lib/internal/hash/hash32
br $~lib/internal/hash/HASH<f32>|inlined.5
end
@@ -311,9 +311,9 @@
drop
block $~lib/internal/hash/HASH<f64>|inlined.0 (result i32)
f64.const 0
set_local $2
get_local $2
i64.reinterpret/f64
local.set $2
local.get $2
i64.reinterpret_f64
call $~lib/internal/hash/hash64
br $~lib/internal/hash/HASH<f64>|inlined.0
end
@@ -321,9 +321,9 @@
drop
block $~lib/internal/hash/HASH<f64>|inlined.1 (result i32)
f64.const 1
set_local $2
get_local $2
i64.reinterpret/f64
local.set $2
local.get $2
i64.reinterpret_f64
call $~lib/internal/hash/hash64
br $~lib/internal/hash/HASH<f64>|inlined.1
end
@@ -331,9 +331,9 @@
drop
block $~lib/internal/hash/HASH<f64>|inlined.2 (result i32)
f64.const 1.1
set_local $2
get_local $2
i64.reinterpret/f64
local.set $2
local.get $2
i64.reinterpret_f64
call $~lib/internal/hash/hash64
br $~lib/internal/hash/HASH<f64>|inlined.2
end
@@ -341,9 +341,9 @@
drop
block $~lib/internal/hash/HASH<f64>|inlined.3 (result i32)
f64.const 0
set_local $2
get_local $2
i64.reinterpret/f64
local.set $2
local.get $2
i64.reinterpret_f64
call $~lib/internal/hash/hash64
br $~lib/internal/hash/HASH<f64>|inlined.3
end
@@ -351,9 +351,9 @@
drop
block $~lib/internal/hash/HASH<f64>|inlined.4 (result i32)
f64.const inf
set_local $2
get_local $2
i64.reinterpret/f64
local.set $2
local.get $2
i64.reinterpret_f64
call $~lib/internal/hash/hash64
br $~lib/internal/hash/HASH<f64>|inlined.4
end
@@ -361,9 +361,9 @@
drop
block $~lib/internal/hash/HASH<f64>|inlined.5 (result i32)
f64.const nan:0x8000000000000
set_local $2
get_local $2
i64.reinterpret/f64
local.set $2
local.get $2
i64.reinterpret_f64
call $~lib/internal/hash/hash64
br $~lib/internal/hash/HASH<f64>|inlined.5
end