From a0c81c79add95ce7a96b0d943545aa8b6bd71713 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 24 Feb 2019 10:30:58 +0000 Subject: Fix bugs: Array Literals with constant elements; IR printing of raw procedure types --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index e92fa7f60..eba159472 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -7360,7 +7360,7 @@ irAddr ir_build_addr(irProcedure *proc, Ast *expr) { case Type_Array: { if (cl->elems.count > 0) { - // ir_emit_store(proc, v, ir_add_module_constant(proc->module, type, exact_value_compound(expr))); + ir_emit_store(proc, v, ir_add_module_constant(proc->module, type, exact_value_compound(expr))); auto temp_data = array_make(heap_allocator(), 0, cl->elems.count); defer (array_free(&temp_data)); -- cgit v1.2.3