mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 12:11:50 +00:00
Update Binaryen to latest and rebuild dist files
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
(type $ii (func (param i32) (result i32)))
|
||||
(type $v (func))
|
||||
(memory $0 0)
|
||||
(table $0 1 anyfunc)
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $null)
|
||||
(global $HEAP_BASE i32 (i32.const 8))
|
||||
(export "memory" (memory $0))
|
||||
@ -13,20 +13,20 @@
|
||||
unreachable
|
||||
)
|
||||
(func $new-without-allocator/A#constructor (; 1 ;) (type $ii) (param $0 i32) (result i32)
|
||||
get_local $0
|
||||
local.get $0
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
call $~lib/memory/memory.allocate
|
||||
set_local $0
|
||||
local.set $0
|
||||
end
|
||||
get_local $0
|
||||
local.get $0
|
||||
)
|
||||
(func $new-without-allocator/test (; 2 ;) (type $i) (result i32)
|
||||
(local $0 i32)
|
||||
i32.const 0
|
||||
call $new-without-allocator/A#constructor
|
||||
set_local $0
|
||||
local.set $0
|
||||
i32.const 3
|
||||
)
|
||||
(func $null (; 3 ;) (type $v)
|
||||
|
Reference in New Issue
Block a user