private void computeTagBindings(Set roots) {
tovisit.addAll(roots);
+
for(Iterator it=roots.iterator();it.hasNext();) {
TagBinding tb=(TagBinding)it.next();
discovered.put(tb,tb);
Hashtable parammap=new Hashtable();
int offset=md.isStatic()?0:1;
+
for(int i=0;i<fm.numParameters();i++) {
TempDescriptor temp=fm.getParameter(i);
int offsetindex=i-offset;
}
}
}
+
HashSet newtags=new HashSet();
+
computeCallsFlags(fm, parammap, newtags, tb.getAllocations());
+
for(Iterator tagit=newtags.iterator();tagit.hasNext();) {
TagBinding newtag=(TagBinding)tagit.next();
Edge e=new Edge(newtag);
if (state.TASKSTATE) {
CallGraph callgraph=new CallGraph(state);
TagAnalysis taganalysis=new TagAnalysis(state, callgraph);
-
TaskAnalysis ta=new TaskAnalysis(state, taganalysis);
ta.taskAnalysis();
}