summaryrefslogtreecommitdiff
path: root/src/ir-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir-util.cc')
-rw-r--r--src/ir-util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir-util.cc b/src/ir-util.cc
index c2cfd6d5..d1dc239f 100644
--- a/src/ir-util.cc
+++ b/src/ir-util.cc
@@ -155,6 +155,7 @@ ModuleContext::Arities ModuleContext::GetExprArity(const Expr& expr) const {
case ExprType::MemorySize:
case ExprType::TableSize:
case ExprType::RefNull:
+ case ExprType::RefFunc:
return { 0, 1 };
case ExprType::Unreachable: