More bugs fixed.
authorcristic <cristic>
Fri, 16 Apr 2004 22:51:51 +0000 (22:51 +0000)
committercristic <cristic>
Fri, 16 Apr 2004 22:51:51 +0000 (22:51 +0000)
Repair/RepairCompiler/MCC/IR/RepairGenerator.java

index fb7893966dfbf33bbb8bc867f40b61ea9461b3e6..741087e15e0e7adbb322f746bf67c58352706c8d 100755 (executable)
@@ -1252,6 +1252,8 @@ public class RepairGenerator {
     }
 
     private boolean need_compensation(Rule r) {
+       if (!Compiler.REPAIR)
+           return false;
        GraphNode gn=(GraphNode)termination.scopefalsify.get(r);
        for(Iterator edgeit=gn.edges();edgeit.hasNext();) {
            GraphNode.Edge edge=(GraphNode.Edge)edgeit.next();