From e2d46676395ae813312652269b5f5ef0aaa3fe06 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 10 Feb 2019 20:51:19 +0000 Subject: Fix data layout issue on Windows; Remove unused loads in SSA --- src/ir_opt.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ir_opt.cpp') 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) { -- cgit v1.2.3