aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index a1c01c98ec..f5feb14b33 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -875,7 +875,9 @@ TypeTableEntry *get_underlying_type(TypeTableEntry *type_entry) {
static IrInstruction *analyze_const_value(CodeGen *g, Scope *scope, AstNode *node, TypeTableEntry *type_entry) {
size_t backward_branch_count = 0;
- return ir_eval_const_value(g, scope, node, type_entry, &backward_branch_count, default_backward_branch_quota);
+ return ir_eval_const_value(g, scope, node, type_entry,
+ &backward_branch_count, default_backward_branch_quota,
+ nullptr);
}
TypeTableEntry *analyze_type_expr(CodeGen *g, Scope *scope, AstNode *node) {