0 / -1 confusion for properties (bug reported by sater).
authorbal <none@none>
Thu, 3 Oct 1985 14:47:28 +0000 (14:47 +0000)
committerbal <none@none>
Thu, 3 Oct 1985 14:47:28 +0000 (14:47 +0000)
mach/proto/ncg/subr.c

index 4f3f25e..825786a 100644 (file)
@@ -575,7 +575,7 @@ c3_p findcoerc(tp,tep) token_p tp; set_p tep; {
                        if (cp->c3_texpno!=0)
                                continue;
                }
-               if (cp->c3_prop==0) {   /* no reg needed */
+               if (cp->c3_prop<0) {   /* no reg needed */
                        cinstance(cp->c3_repl,&rtoken,tp,0);
                        if (match(&rtoken,tep,0))
                                return(cp);