mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-07 20:57:19 +00:00
Use Array<irValue *> in ir.cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user