[wasm] Add normal GC support. (#15577)
commit6a66472815ff06d365281cd5cb6c2cf60b4ac138
authorZoltan Varga <vargaz@gmail.com>
Thu, 1 Aug 2019 13:50:28 +0000 (1 09:50 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 1 Aug 2019 13:50:28 +0000 (1 15:50 +0200)
treea4116377c2ca410c85c50a510adef9670781cdb2
parente3ca891235609663785d70aa1bbc544232070321
 [wasm] Add normal GC support. (#15577)

* [llvm] Spill all ref variables to the stack on wasm, so GC stack scanning can scan all references.

* [runtime] Add an option to enable on-demand GC.
mono/metadata/sgen-mono.c
mono/mini/mini-llvm.c
mono/sgen/sgen-gc.c
sdks/wasm/Makefile
sdks/wasm/driver.c
sdks/wasm/runtime-tests.js