summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index faf275f66..7f0029e9e 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -1044,6 +1044,8 @@ public:
case Type::anyref:
case Type::eqref:
return ExpressionManipulator::refNull(curr, curr->type);
+ case Type::dataref:
+ WASM_UNREACHABLE("TODO: dataref");
case Type::i31ref:
return makeI31New(makeConst(0));
case Type::none: