aboutsummaryrefslogtreecommitdiff
path: root/src/ir_opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_opt.cpp')
-rw-r--r--src/ir_opt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir_opt.cpp b/src/ir_opt.cpp
index b266ffa10..414cf4767 100644
--- a/src/ir_opt.cpp
+++ b/src/ir_opt.cpp
@@ -284,6 +284,7 @@ void ir_opt_build_referrers(irProcedure *proc) {
irValue *instr = b->instrs[j];
array_clear(&ops);
ir_opt_add_operands(&ops, &instr->Instr);
+
for_array(k, ops) {
irValue *op = ops[k];
if (op == nullptr) {