String signature = dfs_info.getRootMethodSignature();
Set<HierarchySignature> visited = new HashSet<HierarchySignature>();
//System.out.println("doing rootbeer dfs: "+signature);
LinkedList<HierarchySignature> queue = new LinkedList<HierarchySignature>();
queue.add(new HierarchySignature(signature));
queue.add(new HierarchySignature("<org.trifort.rootbeer.runtime.Sentinal: void <init>()>"));
queue.add(new HierarchySignature("<org.trifort.rootbeer.runtimegpu.GpuException: void <init>()>"));
queue.add(new HierarchySignature("<org.trifort.rootbeer.runtimegpu.GpuException: org.trifort.rootbeer.runtimegpu.GpuException arrayOutOfBounds(int,int,int)>"));
CompilerSetup setup = new CompilerSetup();
for(String method : setup.getDontDfs()){
visited.add(new HierarchySignature(method));
}
while(queue.isEmpty() == false){
HierarchySignature curr = queue.removeFirst();
doDfsForRootbeer(curr, queue, visited);
}
}