diff options
| author | gingerBill <bill@gingerbill.org> | 2019-02-24 10:30:58 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-02-24 10:30:58 +0000 |
| commit | a0c81c79add95ce7a96b0d943545aa8b6bd71713 (patch) | |
| tree | a3ddce23e7f5b4bbf37e3769d9aac9fa90240832 /src/ir.cpp | |
| parent | cdfaa643ccdc54e0fba3bc43536f33e5ae8debac (diff) | |
Fix bugs: Array Literals with constant elements; IR printing of raw procedure types
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<irCompoundLitElemTempData>(heap_allocator(), 0, cl->elems.count); defer (array_free(&temp_data)); |