From 3f3630d7e349361116416dce36d2f69d7c3e318c Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 13 Dec 2016 04:30:41 -0500 Subject: IR: implement the rest of the builtin functions * returnAddress * frameAddress * addWithOverflow * subWithOverflow * mulWithOverflow * shlWithOverflow * alignOf --- src/analyze.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index 03864ec85c..e0211169ae 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -876,7 +876,7 @@ static IrInstruction *analyze_const_value(CodeGen *g, Scope *scope, AstNode *nod size_t backward_branch_count = 0; return ir_eval_const_value(g, scope, node, type_entry, &backward_branch_count, default_backward_branch_quota, - nullptr, nullptr); + nullptr, nullptr, node); } TypeTableEntry *analyze_type_expr(CodeGen *g, Scope *scope, AstNode *node) { -- cgit v1.2.3