From: jjenista Date: Wed, 3 Nov 2010 22:01:24 +0000 (+0000) Subject: labyrinth is seg-faulting, if you uncomment these new lines it can reach the end... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=552dd1549fde74a92dd9dd7d0ccce7aed48655f0;p=IRC.git labyrinth is seg-faulting, if you uncomment these new lines it can reach the end of the program but it did not route all the subproblems. Some better understanding of the rcrRecord will help here --- diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index f50be6d9..ff48bb57 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -4472,6 +4472,11 @@ public class BuildCode { System.out.println("ERROR:"+td+" "+fsen+" "+fm.getMethod()); int numqueues=weset.size(); output.println(" seseToIssue->rcrRecords["+i+"].flag="+numqueues+";"); + + //output.println(" seseToIssue->rcrRecords["+i+"].count=0;"); + //output.println(" seseToIssue->rcrRecords["+i+"].index=0;"); + //output.println(" seseToIssue->rcrRecords["+i+"].next=NULL;"); + output.println(" dispCount=0;"); for(Iterator wtit=weset.iterator();wtit.hasNext();) { Analysis.OoOJava.WaitingElement waitingElement=wtit.next();