Wasm: Add support for nullref type

Reference types now supports proper a nullref type. This commit changes
the Wasm translator to support this.
This commit is contained in:
Ryan Hunt
2020-01-06 15:36:46 -06:00
parent 32a95a89eb
commit 710182ad26
3 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
(module
(func (result nullref)
ref.null
)
(func (result nullref)
(block (result nullref)
ref.null
)
)
)