Implement reference counting (#592)

This commit is contained in:
Daniel Wirtz
2019-06-05 23:15:39 +02:00
committed by GitHub
parent 3ed76a97f0
commit 0484a6b740
601 changed files with 261645 additions and 146131 deletions

View File

@ -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