could loop again
authorceriel <none@none>
Thu, 5 Mar 1987 17:40:48 +0000 (17:40 +0000)
committerceriel <none@none>
Thu, 5 Mar 1987 17:40:48 +0000 (17:40 +0000)
mach/proto/cg/reg.c
mach/proto/ncg/reg.c

index 3b394ec..ef1f8ba 100644 (file)
@@ -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;i<TOKENSIZE;i++)
@@ -85,6 +82,7 @@ erasereg(regno) {
        awayreg(regno);
 
 #else
+       if (regno == 1)  { /* condition codes */
        } else
        for (rp=machregs;rp<machregs+NREGS;rp++)
                if (rp->r_clash[regno>>4]&(1<<(regno&017))) {
index b71d06d..9f36caf 100644 (file)
@@ -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;i<TOKENSIZE;i++)
                rp->r_contents.t_att[i].aw = 0;
 
+#if MAXMEMBERS==0
        awayreg(regno);
 #else
        for (rp=machregs+1;rp<machregs+NREGS;rp++)