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:
11
cranelift/wasmtests/nullref.wat
Normal file
11
cranelift/wasmtests/nullref.wat
Normal file
@@ -0,0 +1,11 @@
|
||||
(module
|
||||
(func (result nullref)
|
||||
ref.null
|
||||
)
|
||||
|
||||
(func (result nullref)
|
||||
(block (result nullref)
|
||||
ref.null
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user