summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r--src/binaryen-c.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp
index f08b5f777..64813436e 100644
--- a/src/binaryen-c.cpp
+++ b/src/binaryen-c.cpp
@@ -78,6 +78,8 @@ BinaryenLiteral toBinaryenLiteral(Literal x) {
break;
case Type::i31ref:
WASM_UNREACHABLE("TODO: i31ref");
+ case Type::dataref:
+ WASM_UNREACHABLE("TODO: dataref");
case Type::none:
case Type::unreachable:
WASM_UNREACHABLE("unexpected type");
@@ -106,6 +108,8 @@ Literal fromBinaryenLiteral(BinaryenLiteral x) {
return Literal::makeNull(Type(x.type));
case Type::i31ref:
WASM_UNREACHABLE("TODO: i31ref");
+ case Type::dataref:
+ WASM_UNREACHABLE("TODO: dataref");
case Type::none:
case Type::unreachable:
WASM_UNREACHABLE("unexpected type");