mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-15 07:51:32 +00:00
Initial GC integration (#196)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user