diff options
Diffstat (limited to 'rega.c')
-rw-r--r-- | rega.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rega.c b/rega.c index 8f2fbd0..ba405e5 100644 --- a/rega.c +++ b/rega.c @@ -417,10 +417,11 @@ doblk(Blk *b, RMap *cur) } for (r=0; r<nr; r++) *ra[r] = ralloc(cur, ra[r]->val); + if (i->op == Ocopy && req(i->to, i->arg[0])) + curi++; /* try to change the register of a hinted * temporary if rf is available */ - x = 1; if (rf != -1 && (t = cur->w[rf]) != 0) if (!bshas(cur->b, rf) && *hint(t) == rf && (rt = rfree(cur, t)) != -1) { |