Initial GC integration (#196)

This commit is contained in:
Daniel Wirtz
2018-08-02 18:23:02 +02:00
committed by GitHub
parent 671121bf70
commit dc0f271fc2
139 changed files with 7370 additions and 5016 deletions

View File

@ -14,7 +14,7 @@
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start~anonymous|0 (; 1 ;) (type $iv) (param $0 i32)
(func $start~anonymous|0 (; 1 ;) (; has Stack IR ;) (type $iv) (param $0 i32)
(set_global $std/gc-integration/i
(i32.add
(get_global $std/gc-integration/i)
@ -33,14 +33,14 @@
(call $~lib/env/abort
(i32.const 0)
(i32.const 8)
(i32.const 14)
(i32.const 18)
(i32.const 37)
)
(unreachable)
)
)
)
(func $start (; 2 ;) (type $v)
(func $start (; 2 ;) (; has Stack IR ;) (type $v)
(call $~iterateRoots
(i32.const 0)
)
@ -53,14 +53,14 @@
(call $~lib/env/abort
(i32.const 0)
(i32.const 8)
(i32.const 15)
(i32.const 19)
(i32.const 0)
)
(unreachable)
)
)
)
(func $~iterateRoots (; 3 ;) (type $iv) (param $0 i32)
(func $~iterateRoots (; 3 ;) (; has Stack IR ;) (type $iv) (param $0 i32)
(call_indirect (type $iv)
(i32.const 8)
(get_local $0)