don't throw away pseudo's, even if they are not reachable
authorceriel <none@none>
Thu, 2 Aug 1990 16:01:21 +0000 (16:01 +0000)
committerceriel <none@none>
Thu, 2 Aug 1990 16:01:21 +0000 (16:01 +0000)
util/opt/flow.c

index afe1091..5dd3688 100644 (file)
@@ -121,6 +121,11 @@ cleaninstrs() {
                        if (instr == op_lab) {
                                lp->l_a.la_np->n_line = 0;
                        }
+                       else if (instr > sp_lmnem) {
+                               /* leave pseudo's */
+                               lpp = &lp->l_next;
+                               continue;
+                       }
                        lp = lp->l_next;
                        oldline(*lpp);
                        OPTIM(O_UNREACH);