Calculate setLocal usages and use it in setProperty

This commit is contained in:
Jindra Petřík
2021-01-24 11:46:07 +01:00
parent 9e5b90827d
commit 7725258ceb
8 changed files with 183 additions and 24 deletions

View File

@@ -545,6 +545,8 @@ public class Graph {
}
System.err.println("</loopspre>");//*/
List<GotoItem> gotos = new ArrayList<>();
beforePrintGraph(localData, path, allParts, loops);
List<GraphTargetItem> ret = printGraph(gotos, gotoTargets, new HashMap<>(), new HashMap<>(), localData, stack, allParts, null, heads.get(0), null, loops, staticOperation, path);
processIfGotos(gotos, ret);
@@ -572,6 +574,10 @@ public class Graph {
return ret;
}
protected void beforePrintGraph(BaseLocalData localData, String path, Set<GraphPart> allParts, List<Loop> loops) {
}
private List<GraphPartDecision> getCommonPrefix(List<List<GraphPartDecision>> listOfLists) {
List<GraphPartDecision> result = new ArrayList<>();
if (listOfLists.isEmpty()) {