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

@ -34,10 +34,10 @@
(export "SelfReference.ZERO" (global $enum/SelfReference.ZERO))
(export "SelfReference.ONE" (global $enum/SelfReference.ONE))
(start $start)
(func $enum/getZero (; 0 ;) (type $i) (result i32)
(func $enum/getZero (; 0 ;) (; has Stack IR ;) (type $i) (result i32)
(i32.const 0)
)
(func $start (; 1 ;) (type $v)
(func $start (; 1 ;) (; has Stack IR ;) (type $v)
(set_global $enum/NonConstant.ZERO
(call $enum/getZero)
)