diff options
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r-- | src/binaryen-c.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index a34876078..93e3f609b 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -86,6 +86,7 @@ BinaryenLiteral toBinaryenLiteral(Literal x) { case HeapType::any: case HeapType::eq: case HeapType::func: + case HeapType::cont: case HeapType::struct_: case HeapType::array: case HeapType::exn: @@ -98,6 +99,7 @@ BinaryenLiteral toBinaryenLiteral(Literal x) { case HeapType::none: case HeapType::noext: case HeapType::nofunc: + case HeapType::nocont: case HeapType::noexn: // Null. return ret; @@ -141,6 +143,7 @@ Literal fromBinaryenLiteral(BinaryenLiteral x) { WASM_UNREACHABLE("TODO: extern literals"); case HeapType::eq: case HeapType::func: + case HeapType::cont: case HeapType::struct_: case HeapType::array: case HeapType::exn: @@ -153,6 +156,7 @@ Literal fromBinaryenLiteral(BinaryenLiteral x) { case HeapType::none: case HeapType::noext: case HeapType::nofunc: + case HeapType::nocont: case HeapType::noexn: assert(type.isNullable()); return Literal::makeNull(heapType); |