aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ir_simpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_simpl.c')
-rw-r--r--src/ir_simpl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ir_simpl.c b/src/ir_simpl.c
index 4395c7d..3bd9ffc 100644
--- a/src/ir_simpl.c
+++ b/src/ir_simpl.c
@@ -214,8 +214,7 @@ void
simpl(Function *fn)
{
FREQUIRE(FNUSE);
- int inschange = 0,
- blkchange = 0;
+ int blkchange = 0;
Block **jmpfinal = allocz(fn->passarena, fn->nblk * sizeof *jmpfinal, 0);
Block *blk = fn->entry;
@@ -262,7 +261,7 @@ simpl(Function *fn)
Instr *ins = &instrtab[blk->ins.p[curi]];
if (ins->op != Onop) {
if (!(fn->prop & FNUSE)) filluses(fn);
- inschange += doins(ins, blk, &curi);
+ doins(ins, blk, &curi);
}
}