Making makeGraph public in Graph so Graphviz exporter can access it better

This commit is contained in:
Jindra Petřík
2018-02-04 09:13:32 +01:00
parent 51cc222964
commit 7cd52dc324

View File

@@ -2267,7 +2267,7 @@ public class Graph {
protected void checkGraph(List<GraphPart> allBlocks) {
}
private List<GraphPart> makeGraph(GraphSource code, List<GraphPart> allBlocks, List<Integer> alternateEntries) throws InterruptedException {
public List<GraphPart> makeGraph(GraphSource code, List<GraphPart> allBlocks, List<Integer> alternateEntries) throws InterruptedException {
HashMap<Integer, List<Integer>> refs = code.visitCode(alternateEntries);
List<GraphPart> ret = new ArrayList<>();
boolean[] visited = new boolean[code.size()];