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

@ -9,7 +9,7 @@
(import "Date" "now" (func $~lib/bindings/Date/now (result f64)))
(memory $0 1)
(data (i32.const 8) "\0b\00\00\00s\00t\00d\00/\00d\00a\00t\00e\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))
@ -22,17 +22,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
@ -41,16 +41,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
@ -58,16 +58,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
@ -76,17 +76,17 @@
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 $start (; 4 ;) (type $v)
(local $0 i32)
(local $1 i64)
i32.const 40
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 1970
i32.const 0
i32.const 1
@ -95,7 +95,7 @@
i32.const 0
f64.const 0
call $~lib/bindings/Date/UTC
i64.trunc_s/f64
i64.trunc_f64_s
i64.const 0
i64.ne
if
@ -114,7 +114,7 @@
i32.const 0
f64.const 0
call $~lib/bindings/Date/UTC
i64.trunc_s/f64
i64.trunc_f64_s
i64.const 0
i64.ne
if
@ -133,9 +133,9 @@
i32.const 0
f64.const 1
call $~lib/bindings/Date/UTC
i64.trunc_s/f64
set_global $std/date/creationTime
get_global $std/date/creationTime
i64.trunc_f64_s
global.set $std/date/creationTime
global.get $std/date/creationTime
i64.const 1541847600001
i64.ne
if
@ -147,8 +147,8 @@
unreachable
end
call $~lib/bindings/Date/now
i64.trunc_s/f64
get_global $std/date/creationTime
i64.trunc_f64_s
global.get $std/date/creationTime
i64.le_s
if
i32.const 0
@ -158,20 +158,20 @@
call $~lib/env/abort
unreachable
end
get_global $std/date/creationTime
set_local $1
global.get $std/date/creationTime
local.set $1
i32.const 8
call $~lib/allocator/arena/__memory_allocate
tee_local $0
local.tee $0
i64.const 0
i64.store
get_local $0
get_local $1
local.get $0
local.get $1
i64.store
get_local $0
set_global $std/date/date
get_global $std/date/creationTime
get_global $std/date/date
local.get $0
global.set $std/date/date
global.get $std/date/creationTime
global.get $std/date/date
i64.load
i64.ne
if
@ -182,16 +182,16 @@
call $~lib/env/abort
unreachable
end
get_global $std/date/date
tee_local $0
get_global $std/date/creationTime
global.get $std/date/date
local.tee $0
global.get $std/date/creationTime
i64.const 1
i64.add
tee_local $1
local.tee $1
i64.store
get_local $0
local.get $0
i64.load
get_local $1
local.get $1
i64.ne
if
i32.const 0