diff --git a/mach/proto/cg/reg.c b/mach/proto/cg/reg.c index 3b394eca..ef1f8bab 100644 --- a/mach/proto/cg/reg.c +++ b/mach/proto/cg/reg.c @@ -73,9 +73,6 @@ erasereg(regno) { register struct reginfo *rp; register int i; -#if MAXMEMBERS!=0 - if (regno == 1) { /* condition codes */ -#endif rp = &machregs[regno]; rp->r_contents.t_token = 0; for (i=0;ir_clash[regno>>4]&(1<<(regno&017))) { diff --git a/mach/proto/ncg/reg.c b/mach/proto/ncg/reg.c index b71d06d4..9f36caf2 100644 --- a/mach/proto/ncg/reg.c +++ b/mach/proto/ncg/reg.c @@ -73,12 +73,12 @@ erasereg(regno) { register struct reginfo *rp; register int i; -#if MAXMEMBERS==0 rp = &machregs[regno]; rp->r_contents.t_token = 0; for (i=0;ir_contents.t_att[i].aw = 0; +#if MAXMEMBERS==0 awayreg(regno); #else for (rp=machregs+1;rp