Small improvement.
authorbdemsky <bdemsky>
Wed, 1 Jun 2005 05:45:44 +0000 (05:45 +0000)
committerbdemsky <bdemsky>
Wed, 1 Jun 2005 05:45:44 +0000 (05:45 +0000)
Repair/RepairCompiler/MCC/IR/GraphAnalysis.java

index 270af78..875baa2 100755 (executable)
@@ -56,6 +56,9 @@ public class GraphAnalysis {
                        if (cantremove.contains(gn3)||
                            cantremovetrans.contains(gn3)) {
                            needcyclecheck=true;
+                       } else if (termination.updatenodes.contains(gn3)&&
+                                  !couldremove.contains(gn3)) {
+                           needcyclecheck=true;
                        } else return false;
                    }
                    if ((!couldremove.contains(gn3))||cantremove.contains(gn3))