Update Binaryen to latest nightly

This commit is contained in:
dcode
2019-03-08 16:19:46 +01:00
parent c835b5fb40
commit cdec865bef
20 changed files with 1988 additions and 2015 deletions

View File

@ -152,20 +152,19 @@
i32.store
)
(func $~lib/collector/itcm/__gc_mark (; 3 ;) (type $FUNCSIG$vi) (param $0 i32)
(local $1 i32)
local.get $0
if
global.get $~lib/collector/itcm/white
local.get $0
i32.const 16
i32.sub
local.tee $1
local.tee $0
i32.load
i32.const 3
i32.and
i32.eq
if
local.get $1
local.get $0
call $~lib/collector/itcm/ManagedObject#makeGray
end
end
@ -304,7 +303,6 @@
end
)
(func $~lib/collector/itcm/__gc_allocate (; 5 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
local.get $0
i32.const 1073741808
i32.gt_u
@ -316,21 +314,21 @@
i32.const 16
i32.add
call $~lib/allocator/arena/__memory_allocate
local.tee $2
local.tee $0
local.get $1
i32.store offset=8
local.get $2
local.get $0
global.get $~lib/collector/itcm/white
local.get $2
local.get $0
i32.load
i32.const -4
i32.and
i32.or
i32.store
global.get $~lib/collector/itcm/fromSpace
local.get $2
local.get $0
call $~lib/collector/itcm/ManagedObjectList#push
local.get $2
local.get $0
i32.const 16
i32.add
)