mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 18:01:31 +00:00
Update Binaryen
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
(type $iv (func (param i32)))
|
||||
(type $iiiiv (func (param i32 i32 i32 i32)))
|
||||
(type $v (func))
|
||||
(type $FUNCSIG$v (func))
|
||||
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
||||
(global $std/gc-integration/B.d (mut i32) (i32.const 16))
|
||||
(global $std/gc-integration/a_ref (mut i32) (i32.const 24))
|
||||
@ -41,9 +42,7 @@
|
||||
)
|
||||
)
|
||||
(func $start (; 2 ;) (; has Stack IR ;) (type $v)
|
||||
(call $~iterateRoots
|
||||
(i32.const 0)
|
||||
)
|
||||
(call $~iterateRoots)
|
||||
(if
|
||||
(i32.ne
|
||||
(get_global $std/gc-integration/i)
|
||||
@ -60,22 +59,22 @@
|
||||
)
|
||||
)
|
||||
)
|
||||
(func $~iterateRoots (; 3 ;) (; has Stack IR ;) (type $iv) (param $0 i32)
|
||||
(func $~iterateRoots (; 3 ;) (; has Stack IR ;) (type $FUNCSIG$v)
|
||||
(call_indirect (type $iv)
|
||||
(i32.const 8)
|
||||
(get_local $0)
|
||||
(i32.const 0)
|
||||
)
|
||||
(call_indirect (type $iv)
|
||||
(get_global $std/gc-integration/B.d)
|
||||
(get_local $0)
|
||||
(i32.const 0)
|
||||
)
|
||||
(call_indirect (type $iv)
|
||||
(get_global $std/gc-integration/a_ref)
|
||||
(get_local $0)
|
||||
(i32.const 0)
|
||||
)
|
||||
(call_indirect (type $iv)
|
||||
(get_global $std/gc-integration/b_ref)
|
||||
(get_local $0)
|
||||
(i32.const 0)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user