mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 02:31:41 +00:00
Update Binaryen to latest and rebuild dist files
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
(type $i (func (result i32)))
|
||||
(type $v (func))
|
||||
(memory $0 0)
|
||||
(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))
|
||||
@ -24,23 +24,23 @@
|
||||
(export "testObjRet" (func $nonNullAssertion/testObjFn))
|
||||
(start $start)
|
||||
(func $nonNullAssertion/testVar (; 0 ;) (type $ii) (param $0 i32) (result i32)
|
||||
get_local $0
|
||||
local.get $0
|
||||
)
|
||||
(func $nonNullAssertion/testObj (; 1 ;) (type $ii) (param $0 i32) (result i32)
|
||||
get_local $0
|
||||
local.get $0
|
||||
i32.load
|
||||
)
|
||||
(func $nonNullAssertion/testArr (; 2 ;) (type $ii) (param $0 i32) (result i32)
|
||||
i32.const 0
|
||||
get_local $0
|
||||
local.get $0
|
||||
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
|
||||
@ -48,15 +48,15 @@
|
||||
)
|
||||
(func $nonNullAssertion/testAll (; 3 ;) (type $ii) (param $0 i32) (result i32)
|
||||
i32.const 0
|
||||
get_local $0
|
||||
local.get $0
|
||||
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
|
||||
@ -65,22 +65,22 @@
|
||||
)
|
||||
(func $nonNullAssertion/testFn (; 4 ;) (type $ii) (param $0 i32) (result i32)
|
||||
i32.const 0
|
||||
set_global $~argc
|
||||
get_local $0
|
||||
global.set $~argc
|
||||
local.get $0
|
||||
call_indirect (type $i)
|
||||
)
|
||||
(func $nonNullAssertion/testObjFn (; 5 ;) (type $ii) (param $0 i32) (result i32)
|
||||
i32.const 0
|
||||
set_global $~argc
|
||||
get_local $0
|
||||
global.set $~argc
|
||||
local.get $0
|
||||
i32.load offset=4
|
||||
call_indirect (type $i)
|
||||
)
|
||||
(func $start (; 6 ;) (type $v)
|
||||
i32.const 8
|
||||
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
|
||||
)
|
||||
(func $null (; 7 ;) (type $v)
|
||||
nop
|
||||
|
Reference in New Issue
Block a user