X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Repair%2FRepairCompiler%2FMCC%2FIR%2FTermination.java;h=8585655710d9b7362f79815640074d404bfb38f4;hb=87862c69c1cb47c83a858f0b6e52d9c0bc25913f;hp=0d074f6a3146bdfeeb19e50c5852878ff4198d2d;hpb=721bacd23e2b11ad31084b223dc1822c1e647eca;p=repair.git diff --git a/Repair/RepairCompiler/MCC/IR/Termination.java b/Repair/RepairCompiler/MCC/IR/Termination.java index 0d074f6..8585655 100755 --- a/Repair/RepairCompiler/MCC/IR/Termination.java +++ b/Repair/RepairCompiler/MCC/IR/Termination.java @@ -627,7 +627,7 @@ public class Termination { continue; } } - if (!un.checkupdates()) /* Make sure we have a good update */ + if (!un.checkupdates(state)) /* Make sure we have a good update */ continue; mun.addUpdate(un); @@ -734,7 +734,7 @@ public class Termination { goodflag=false;break; } } - if (!un.checkupdates()) { + if (!un.checkupdates(state)) { goodflag=false; break; } @@ -855,7 +855,7 @@ public class Termination { goodflag=false; } - if (!un.checkupdates()) { + if (!un.checkupdates(state)) { goodflag=false; break; } @@ -914,7 +914,6 @@ public class Termination { continue endloop; e=ce.getExpr(); } - if (!(e instanceof VarExpr)) { if (e.isValue(si.getSet().getType())) { Updates up=new Updates(e,0,si.getSet().getType()); @@ -1043,7 +1042,7 @@ public class Termination { debugmsg("Finished processing quantifiers")&& processconjunction(un,ruleconj,setmapping)&& debugmsg("Finished processing conjunction")&& - un.checkupdates()&& + un.checkupdates(state)&& debugmsg("Updates checked")) { mun.addUpdate(un); GraphNode.Edge e=new GraphNode.Edge("abstract5"+addtocount,gn2);