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.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp
index 8a5756f6e..233ff5e34 100644
--- a/src/binaryen-c.cpp
+++ b/src/binaryen-c.cpp
@@ -76,9 +76,8 @@ BinaryenLiteral toBinaryenLiteral(Literal x) {
assert(x.isNull() && "unexpected non-null reference type literal");
break;
case Type::i31ref:
- WASM_UNREACHABLE("TODO: i31ref");
case Type::dataref:
- WASM_UNREACHABLE("TODO: dataref");
+ WASM_UNREACHABLE("TODO: reftypes");
case Type::none:
case Type::unreachable:
WASM_UNREACHABLE("unexpected type");
@@ -104,9 +103,8 @@ Literal fromBinaryenLiteral(BinaryenLiteral x) {
case Type::eqref:
return Literal::makeNull(Type(x.type).getHeapType());
case Type::i31ref:
- WASM_UNREACHABLE("TODO: i31ref");
case Type::dataref:
- WASM_UNREACHABLE("TODO: dataref");
+ WASM_UNREACHABLE("TODO: reftypes");
case Type::none:
case Type::unreachable:
WASM_UNREACHABLE("unexpected type");