summaryrefslogtreecommitdiff
path: root/src/ir/cost.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/cost.h')
-rw-r--r--src/ir/cost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/cost.h b/src/ir/cost.h
index 59b738b1b..11c179d40 100644
--- a/src/ir/cost.h
+++ b/src/ir/cost.h
@@ -561,7 +561,7 @@ struct CostAnalyzer : public OverriddenVisitor<CostAnalyzer, CostType> {
return 1 + visit(curr->left) + visit(curr->right);
}
CostType visitRefNull(RefNull* curr) { return 1; }
- CostType visitRefIs(RefIs* curr) { return 1 + visit(curr->value); }
+ CostType visitRefIsNull(RefIsNull* curr) { return 1 + visit(curr->value); }
CostType visitRefFunc(RefFunc* curr) { return 1; }
CostType visitRefEq(RefEq* curr) {
return 1 + visit(curr->left) + visit(curr->right);