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

@ -16,7 +16,7 @@
(data (i32.const 128) "x")
(data (i32.const 136) "\0d\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s")
(data (i32.const 168) "\1c\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00a\00r\00r\00a\00y\00b\00u\00f\00f\00e\00r\00.\00t\00s")
(table $0 1 anyfunc)
(table $0 1 funcref)
(elem (i32.const 0) $null)
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
@ -33,17 +33,17 @@
(local $1 i32)
(local $2 i32)
(local $3 i32)
get_local $0
local.get $0
i32.const 1073741824
i32.gt_u
if
unreachable
end
get_global $~lib/allocator/arena/offset
tee_local $1
get_local $0
global.get $~lib/allocator/arena/offset
local.tee $1
local.get $0
i32.const 1
get_local $0
local.get $0
i32.const 1
i32.gt_u
select
@ -52,16 +52,16 @@
i32.add
i32.const -8
i32.and
tee_local $2
local.tee $2
current_memory
tee_local $3
local.tee $3
i32.const 16
i32.shl
i32.gt_u
if
get_local $3
get_local $2
get_local $1
local.get $3
local.get $2
local.get $1
i32.sub
i32.const 65535
i32.add
@ -69,16 +69,16 @@
i32.and
i32.const 16
i32.shr_u
tee_local $0
get_local $3
get_local $0
local.tee $0
local.get $3
local.get $0
i32.gt_s
select
grow_memory
i32.const 0
i32.lt_s
if
get_local $0
local.get $0
grow_memory
i32.const 0
i32.lt_s
@ -87,13 +87,13 @@
end
end
end
get_local $2
set_global $~lib/allocator/arena/offset
get_local $1
local.get $2
global.set $~lib/allocator/arena/offset
local.get $1
)
(func $~lib/internal/arraybuffer/allocateUnsafe (; 2 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
get_local $0
local.get $0
i32.const 1073741816
i32.gt_u
if
@ -106,233 +106,233 @@
end
i32.const 1
i32.const 32
get_local $0
local.get $0
i32.const 7
i32.add
i32.clz
i32.sub
i32.shl
call $~lib/allocator/arena/__memory_allocate
tee_local $1
get_local $0
local.tee $1
local.get $0
i32.store
get_local $1
local.get $1
)
(func $~lib/internal/memory/memset (; 3 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
get_local $1
local.get $1
i32.eqz
if
return
end
get_local $0
local.get $0
i32.const 0
i32.store8
get_local $0
get_local $1
local.get $0
local.get $1
i32.add
i32.const 1
i32.sub
i32.const 0
i32.store8
get_local $1
local.get $1
i32.const 2
i32.le_u
if
return
end
get_local $0
local.get $0
i32.const 1
i32.add
i32.const 0
i32.store8
get_local $0
local.get $0
i32.const 2
i32.add
i32.const 0
i32.store8
get_local $0
get_local $1
local.get $0
local.get $1
i32.add
tee_local $2
local.tee $2
i32.const 2
i32.sub
i32.const 0
i32.store8
get_local $2
local.get $2
i32.const 3
i32.sub
i32.const 0
i32.store8
get_local $1
local.get $1
i32.const 6
i32.le_u
if
return
end
get_local $0
local.get $0
i32.const 3
i32.add
i32.const 0
i32.store8
get_local $0
get_local $1
local.get $0
local.get $1
i32.add
i32.const 4
i32.sub
i32.const 0
i32.store8
get_local $1
local.get $1
i32.const 8
i32.le_u
if
return
end
i32.const 0
get_local $0
local.get $0
i32.sub
i32.const 3
i32.and
tee_local $2
get_local $0
local.tee $2
local.get $0
i32.add
tee_local $0
local.tee $0
i32.const 0
i32.store
get_local $1
get_local $2
local.get $1
local.get $2
i32.sub
i32.const -4
i32.and
tee_local $1
get_local $0
local.tee $1
local.get $0
i32.add
i32.const 4
i32.sub
i32.const 0
i32.store
get_local $1
local.get $1
i32.const 8
i32.le_u
if
return
end
get_local $0
local.get $0
i32.const 4
i32.add
i32.const 0
i32.store
get_local $0
local.get $0
i32.const 8
i32.add
i32.const 0
i32.store
get_local $0
get_local $1
local.get $0
local.get $1
i32.add
tee_local $2
local.tee $2
i32.const 12
i32.sub
i32.const 0
i32.store
get_local $2
local.get $2
i32.const 8
i32.sub
i32.const 0
i32.store
get_local $1
local.get $1
i32.const 24
i32.le_u
if
return
end
get_local $0
local.get $0
i32.const 12
i32.add
i32.const 0
i32.store
get_local $0
local.get $0
i32.const 16
i32.add
i32.const 0
i32.store
get_local $0
local.get $0
i32.const 20
i32.add
i32.const 0
i32.store
get_local $0
local.get $0
i32.const 24
i32.add
i32.const 0
i32.store
get_local $0
get_local $1
local.get $0
local.get $1
i32.add
tee_local $2
local.tee $2
i32.const 28
i32.sub
i32.const 0
i32.store
get_local $2
local.get $2
i32.const 24
i32.sub
i32.const 0
i32.store
get_local $2
local.get $2
i32.const 20
i32.sub
i32.const 0
i32.store
get_local $2
local.get $2
i32.const 16
i32.sub
i32.const 0
i32.store
get_local $0
local.get $0
i32.const 4
i32.and
i32.const 24
i32.add
tee_local $2
get_local $0
local.tee $2
local.get $0
i32.add
set_local $0
get_local $1
get_local $2
local.set $0
local.get $1
local.get $2
i32.sub
set_local $1
local.set $1
loop $continue|0
get_local $1
local.get $1
i32.const 32
i32.ge_u
if
get_local $0
local.get $0
i64.const 0
i64.store
get_local $0
local.get $0
i32.const 8
i32.add
i64.const 0
i64.store
get_local $0
local.get $0
i32.const 16
i32.add
i64.const 0
i64.store
get_local $0
local.get $0
i32.const 24
i32.add
i64.const 0
i64.store
get_local $1
local.get $1
i32.const 32
i32.sub
set_local $1
get_local $0
local.set $1
local.get $0
i32.const 32
i32.add
set_local $0
local.set $0
br $continue|0
end
end
@ -342,62 +342,62 @@
(local $1 i32)
i32.const 3
call $~lib/internal/arraybuffer/allocateUnsafe
set_local $1
local.set $1
i32.const 8
call $~lib/allocator/arena/__memory_allocate
tee_local $0
local.tee $0
i32.const 0
i32.store
get_local $0
local.get $0
i32.const 0
i32.store offset=4
get_local $0
get_local $1
local.get $0
local.get $1
i32.store
get_local $0
local.get $0
i32.const 3
i32.store offset=4
get_local $1
local.get $1
i32.const 8
i32.add
i32.const 3
call $~lib/internal/memory/memset
get_local $0
local.get $0
)
(func $~lib/array/Array<i32>#constructor (; 5 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
(local $1 i32)
i32.const 12
call $~lib/internal/arraybuffer/allocateUnsafe
set_local $1
local.set $1
i32.const 8
call $~lib/allocator/arena/__memory_allocate
tee_local $0
local.tee $0
i32.const 0
i32.store
get_local $0
local.get $0
i32.const 0
i32.store offset=4
get_local $0
get_local $1
local.get $0
local.get $1
i32.store
get_local $0
local.get $0
i32.const 3
i32.store offset=4
get_local $1
local.get $1
i32.const 8
i32.add
i32.const 12
call $~lib/internal/memory/memset
get_local $0
local.get $0
)
(func $start (; 6 ;) (type $v)
(local $0 i32)
(local $1 i32)
i32.const 232
set_global $~lib/allocator/arena/startOffset
get_global $~lib/allocator/arena/startOffset
set_global $~lib/allocator/arena/offset
global.set $~lib/allocator/arena/startOffset
global.get $~lib/allocator/arena/startOffset
global.set $~lib/allocator/arena/offset
i32.const 28
i32.load
i32.const 3
@ -413,11 +413,11 @@
i32.const 0
i32.const 24
i32.load
tee_local $0
local.tee $0
i32.load
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.load8_s offset=8
else
unreachable
@ -435,11 +435,11 @@
i32.const 1
i32.const 24
i32.load
tee_local $0
local.tee $0
i32.load
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 1
i32.add
i32.load8_s offset=8
@ -461,11 +461,11 @@
i32.const 2
i32.const 24
i32.load
tee_local $0
local.tee $0
i32.load
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 2
i32.add
i32.load8_s offset=8
@ -499,13 +499,13 @@
i32.const 0
i32.const 112
i32.load
tee_local $0
local.tee $0
i32.load
i32.const 2
i32.shr_u
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.load offset=8
else
unreachable
@ -521,13 +521,13 @@
i32.const 1
i32.const 112
i32.load
tee_local $0
local.tee $0
i32.load
i32.const 2
i32.shr_u
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 4
i32.add
i32.load offset=8
@ -547,13 +547,13 @@
i32.const 2
i32.const 112
i32.load
tee_local $0
local.tee $0
i32.load
i32.const 2
i32.shr_u
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 8
i32.add
i32.load offset=8
@ -570,7 +570,7 @@
call $~lib/env/abort
unreachable
end
get_global $std/array-literal/emptyArrayI32
global.get $std/array-literal/emptyArrayI32
i32.load offset=4
if
i32.const 0
@ -581,35 +581,35 @@
unreachable
end
call $~lib/array/Array<i8>#constructor
tee_local $0
local.tee $0
i32.load
get_global $std/array-literal/i
tee_local $1
global.get $std/array-literal/i
local.tee $1
i32.store8 offset=8
get_local $1
local.get $1
i32.const 1
i32.add
set_global $std/array-literal/i
get_local $0
global.set $std/array-literal/i
local.get $0
i32.load
i32.const 1
i32.add
get_global $std/array-literal/i
tee_local $1
global.get $std/array-literal/i
local.tee $1
i32.store8 offset=8
get_local $1
local.get $1
i32.const 1
i32.add
set_global $std/array-literal/i
get_local $0
global.set $std/array-literal/i
local.get $0
i32.load
i32.const 2
i32.add
get_global $std/array-literal/i
global.get $std/array-literal/i
i32.store8 offset=8
get_local $0
set_global $std/array-literal/dynamicArrayI8
get_global $std/array-literal/dynamicArrayI8
local.get $0
global.set $std/array-literal/dynamicArrayI8
global.get $std/array-literal/dynamicArrayI8
i32.load offset=4
i32.const 3
i32.ne
@ -622,13 +622,13 @@
unreachable
end
i32.const 0
get_global $std/array-literal/dynamicArrayI8
global.get $std/array-literal/dynamicArrayI8
i32.load
tee_local $0
local.tee $0
i32.load
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.load8_s offset=8
else
unreachable
@ -644,13 +644,13 @@
unreachable
end
i32.const 1
get_global $std/array-literal/dynamicArrayI8
global.get $std/array-literal/dynamicArrayI8
i32.load
tee_local $0
local.tee $0
i32.load
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 1
i32.add
i32.load8_s offset=8
@ -670,13 +670,13 @@
unreachable
end
i32.const 2
get_global $std/array-literal/dynamicArrayI8
global.get $std/array-literal/dynamicArrayI8
i32.load
tee_local $0
local.tee $0
i32.load
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 2
i32.add
i32.load8_s offset=8
@ -696,37 +696,37 @@
unreachable
end
i32.const 0
set_global $std/array-literal/i
global.set $std/array-literal/i
call $~lib/array/Array<i32>#constructor
tee_local $0
local.tee $0
i32.load
get_global $std/array-literal/i
tee_local $1
global.get $std/array-literal/i
local.tee $1
i32.store offset=8
get_local $1
local.get $1
i32.const 1
i32.add
set_global $std/array-literal/i
get_local $0
global.set $std/array-literal/i
local.get $0
i32.load
i32.const 4
i32.add
get_global $std/array-literal/i
tee_local $1
global.get $std/array-literal/i
local.tee $1
i32.store offset=8
get_local $1
local.get $1
i32.const 1
i32.add
set_global $std/array-literal/i
get_local $0
global.set $std/array-literal/i
local.get $0
i32.load
i32.const 8
i32.add
get_global $std/array-literal/i
global.get $std/array-literal/i
i32.store offset=8
get_local $0
set_global $std/array-literal/dynamicArrayI32
get_global $std/array-literal/dynamicArrayI32
local.get $0
global.set $std/array-literal/dynamicArrayI32
global.get $std/array-literal/dynamicArrayI32
i32.load offset=4
i32.const 3
i32.ne
@ -739,15 +739,15 @@
unreachable
end
i32.const 0
get_global $std/array-literal/dynamicArrayI32
global.get $std/array-literal/dynamicArrayI32
i32.load
tee_local $0
local.tee $0
i32.load
i32.const 2
i32.shr_u
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.load offset=8
else
unreachable
@ -761,15 +761,15 @@
unreachable
end
i32.const 1
get_global $std/array-literal/dynamicArrayI32
global.get $std/array-literal/dynamicArrayI32
i32.load
tee_local $0
local.tee $0
i32.load
i32.const 2
i32.shr_u
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 4
i32.add
i32.load offset=8
@ -787,15 +787,15 @@
unreachable
end
i32.const 2
get_global $std/array-literal/dynamicArrayI32
global.get $std/array-literal/dynamicArrayI32
i32.load
tee_local $0
local.tee $0
i32.load
i32.const 2
i32.shr_u
i32.lt_u
if (result i32)
get_local $0
local.get $0
i32.const 8
i32.add
i32.load offset=8
@ -813,35 +813,35 @@
unreachable
end
call $~lib/array/Array<i32>#constructor
set_local $0
local.set $0
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $1
get_local $0
local.set $1
local.get $0
i32.load
get_local $1
local.get $1
i32.store offset=8
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $1
get_local $0
local.set $1
local.get $0
i32.load
i32.const 4
i32.add
get_local $1
local.get $1
i32.store offset=8
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $1
get_local $0
local.set $1
local.get $0
i32.load
i32.const 8
i32.add
get_local $1
local.get $1
i32.store offset=8
get_local $0
set_global $std/array-literal/dynamicArrayRef
get_global $std/array-literal/dynamicArrayRef
local.get $0
global.set $std/array-literal/dynamicArrayRef
global.get $std/array-literal/dynamicArrayRef
i32.load offset=4
i32.const 3
i32.ne
@ -854,35 +854,35 @@
unreachable
end
call $~lib/array/Array<i32>#constructor
set_local $0
local.set $0
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $1
get_local $0
local.set $1
local.get $0
i32.load
get_local $1
local.get $1
i32.store offset=8
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $1
get_local $0
local.set $1
local.get $0
i32.load
i32.const 4
i32.add
get_local $1
local.get $1
i32.store offset=8
i32.const 0
call $~lib/allocator/arena/__memory_allocate
set_local $1
get_local $0
local.set $1
local.get $0
i32.load
i32.const 8
i32.add
get_local $1
local.get $1
i32.store offset=8
get_local $0
set_global $std/array-literal/dynamicArrayRefWithCtor
get_global $std/array-literal/dynamicArrayRefWithCtor
local.get $0
global.set $std/array-literal/dynamicArrayRefWithCtor
global.get $std/array-literal/dynamicArrayRefWithCtor
i32.load offset=4
i32.const 3
i32.ne