Begin work on the custom backend

This commit is contained in:
Ginger Bill
2017-03-05 21:22:33 +00:00
parent 5adfbec847
commit e2734a2dc6
7 changed files with 972 additions and 56 deletions
+2 -2
View File
@@ -4868,8 +4868,8 @@ void ir_build_stmt_internal(irProcedure *proc, AstNode *node) {
}
}
} else { // Tuple(s)
Array(irAddr) lvals;
irValueArray inits;
Array(irAddr) lvals = {0};
irValueArray inits = {0};
array_init_reserve(&lvals, m->tmp_allocator, vd->names.count);
array_init_reserve(&inits, m->tmp_allocator, vd->names.count);