mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-26 21:21:54 +00:00
Implement reference counting (#592)
This commit is contained in:
@ -17,15 +17,13 @@
|
||||
(memory $0 0)
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $null)
|
||||
(global $~lib/memory/HEAP_BASE i32 (i32.const 8))
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(start $start)
|
||||
(func $function/_ (; 0 ;) (type $FUNCSIG$v)
|
||||
nop
|
||||
)
|
||||
(func $function/v (; 1 ;) (type $FUNCSIG$v)
|
||||
nop
|
||||
return
|
||||
)
|
||||
(func $function/i (; 2 ;) (type $FUNCSIG$i) (result i32)
|
||||
i32.const 0
|
||||
@ -43,7 +41,7 @@
|
||||
nop
|
||||
)
|
||||
(func $function/iv (; 7 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
nop
|
||||
return
|
||||
)
|
||||
(func $function/ii (; 8 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
local.get $0
|
||||
@ -61,7 +59,7 @@
|
||||
nop
|
||||
)
|
||||
(func $function/iiv (; 13 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
||||
nop
|
||||
return
|
||||
)
|
||||
(func $function/iii (; 14 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
local.get $0
|
||||
|
Reference in New Issue
Block a user