Skip to content
Snippets Groups Projects
Commit 5be44997 authored by Carlos Galindo's avatar Carlos Galindo
Browse files

Total definition dependence should be skipped for primitive actions

parent 1fe56b03
No related branches found
No related tags found
1 merge request!58Object flow and trees
......@@ -106,7 +106,7 @@ public class JSysPDG extends ESPDG {
for (GraphNode<?> node : vertexSet()) {
for (VariableAction varAct : node.getVariableActions()) {
// Total definition dependence
if (varAct.isUsage() || (varAct.isDefinition() && !varAct.isSynthetic())) {
if (!varAct.isPrimitive() && (varAct.isUsage() || (varAct.isDefinition() && !varAct.isSynthetic()))) {
// root
jSysCFG.findLastTotalDefinitionOf(varAct, "-root-").forEach(totalDef -> addTotalDefinitionDependencyArc(totalDef, varAct, "-root-"));
// members
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment