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 b00537bf5..5f1fd393e 100644
--- a/src/ir/abstract.h
+++ b/src/ir/abstract.h
@@ -104,6 +104,7 @@ inline UnaryOp getUnary(Type type, Op op) {
case Type::funcref:
case Type::externref:
case Type::exnref:
+ case Type::anyref:
case Type::none:
case Type::unreachable: {
return InvalidUnary;
@@ -268,6 +269,7 @@ inline BinaryOp getBinary(Type type, Op op) {
case Type::funcref:
case Type::externref:
case Type::exnref:
+ case Type::anyref:
case Type::none:
case Type::unreachable: {
return InvalidBinary;