Update Binaryen

This commit is contained in:
dcodeIO
2018-09-13 23:10:49 +02:00
parent 6949cf9f9e
commit d90cd085e5
51 changed files with 2786 additions and 9159 deletions

View File

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