From: yeom Date: Sat, 10 Oct 2009 00:02:54 +0000 (+0000) Subject: bug fix. analyzeMethod of buildgraph has wrong FlatMethod parameter. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9ee60803ef73155b7478ca521ce5f08465fb0ae6;p=IRC.git bug fix. analyzeMethod of buildgraph has wrong FlatMethod parameter. --- diff --git a/Robust/src/Analysis/CallGraph/JavaCallGraph.java b/Robust/src/Analysis/CallGraph/JavaCallGraph.java index 133e210a..3b6ba97c 100644 --- a/Robust/src/Analysis/CallGraph/JavaCallGraph.java +++ b/Robust/src/Analysis/CallGraph/JavaCallGraph.java @@ -35,7 +35,7 @@ public class JavaCallGraph extends CallGraph { while(!tovisit.isEmpty()) { MethodDescriptor md=(MethodDescriptor)tovisit.iterator().next(); tovisit.remove(md); - FlatMethod fm=state.getMethodFlat(main); + FlatMethod fm=state.getMethodFlat(md); analyzeMethod(md, fm); for(Iterator fnit=fm.getNodeSet().iterator();fnit.hasNext();) { FlatNode fn=fnit.next();