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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/abstract.h b/src/ir/abstract.h
index 4c8d556cb..e5dfd57e0 100644
--- a/src/ir/abstract.h
+++ b/src/ir/abstract.h
@@ -117,8 +117,8 @@ inline UnaryOp getUnary(Type type, Op op) {
case Type::externref:
case Type::anyref:
case Type::eqref:
- case Type::dataref:
case Type::i31ref:
+ case Type::dataref:
case Type::none:
case Type::unreachable: {
return InvalidUnary;
@@ -290,8 +290,8 @@ inline BinaryOp getBinary(Type type, Op op) {
case Type::externref:
case Type::anyref:
case Type::eqref:
- case Type::dataref:
case Type::i31ref:
+ case Type::dataref:
case Type::none:
case Type::unreachable: {
return InvalidBinary;