Commit 03651a82 authored by Carlos Galindo's avatar Carlos Galindo
Browse files

When searching for interprocedural actions, don't generate trees for variables...

When searching for interprocedural actions, don't generate trees for variables that don't have them.
parent 14b25ce7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ public abstract class InterproceduralActionFinder<A extends VariableAction> exte
        Set<A> set = new HashSet<>();
        for (Iterator<A> it = filteredStream.iterator(); it.hasNext(); ) {
            A a = it.next();
            if (set.contains(a)) {
            if (set.contains(a) && a.hasObjectTree()) {
                for (A aFromSet : set)
                    if (aFromSet.hashCode() == a.hashCode() && Objects.equals(aFromSet, a))
                        aFromSet.getObjectTree().addAll(a.getObjectTree());