diff --git a/mach/proto/cg/move.c b/mach/proto/cg/move.c index b74e5508..3230aa8a 100644 --- a/mach/proto/cg/move.c +++ b/mach/proto/cg/move.c @@ -57,6 +57,7 @@ move(tp1,tp2,ply,toplevel,maxcost) token_p tp1,tp2; unsigned maxcost; { } else { if (eqtoken(&machregs[tp2->t_att[0].ar].r_contents,tp1)) return(0); + erasereg(tp2->t_att[0].ar); machregs[tp2->t_att[0].ar].r_contents = *tp1; } for (rp=machregs;rp