aboutsummaryrefslogtreecommitdiff
path: root/src/ir_opt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-02-10 20:51:19 +0000
committergingerBill <bill@gingerbill.org>2019-02-10 20:51:19 +0000
commite2d46676395ae813312652269b5f5ef0aaa3fe06 (patch)
treed320650bc5965bee85c41f5a8a4a89cc91b2c128 /src/ir_opt.cpp
parentb74d828af713f3284a46c0bd643836f17034455d (diff)
Fix data layout issue on Windows; Remove unused loads in SSA
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) {