summaryrefslogtreecommitdiff
path: root/src/ir/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/abstract.h')
-rw-r--r--src/ir/abstract.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/abstract.h b/src/ir/abstract.h
index d1a7ec47d..d4a93b011 100644
--- a/src/ir/abstract.h
+++ b/src/ir/abstract.h
@@ -118,6 +118,7 @@ inline UnaryOp getUnary(Type type, Op op) {
case Type::exnref:
case Type::anyref:
case Type::eqref:
+ case Type::dataref:
case Type::i31ref:
case Type::none:
case Type::unreachable: {
@@ -291,6 +292,7 @@ inline BinaryOp getBinary(Type type, Op op) {
case Type::exnref:
case Type::anyref:
case Type::eqref:
+ case Type::dataref:
case Type::i31ref:
case Type::none:
case Type::unreachable: {