RREMOVE section updated.
authorsater <none@none>
Fri, 11 Jan 1985 09:44:34 +0000 (09:44 +0000)
committersater <none@none>
Fri, 11 Jan 1985 09:44:34 +0000 (09:44 +0000)
mach/proto/ncg/codegen.c

index b9e862c..510dd91 100644 (file)
@@ -475,9 +475,11 @@ normalfailed:      if (stackpad!=tokpatlen) {
        tkdef_p tdp;
        result_t result;
 
+       DEBUG("RREMOVE");
        getint(nodeno,codep);
        result=compute(&enodes[nodeno]);
-       assert(result.e_typ==EV_REG);
+       if (result.e_typ!=EV_REG)
+               break;
        for (tp= &fakestack[stackheight-tokpatlen-1];tp>=&fakestack[0];tp--)
                if (tp->t_token==-1) {
                        if(tp->t_att[0].ar==result.e_v.e_reg)