Use Array<irValue *> in ir.cpp

This commit is contained in:
gingerBill
2018-02-25 15:31:00 +00:00
parent a1e8de4e00
commit f28a34fa99
4 changed files with 111 additions and 91 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ void ir_opt_add_operands(Array<irValue *> *ops, irInstr *i) {
break;
case irInstr_Call:
array_add(ops, i->Call.value);
for (isize j = 0; j < i->Call.arg_count; j++) {
for_array(j, i->Call.args) {
array_add(ops, i->Call.args[j]);
}
break;