Python: Fix up merge weirdness

This commit is contained in:
Taus Brock-Nannestad
2020-09-14 17:57:45 +02:00
parent e197f52b6d
commit 0bb726f21c

View File

@@ -158,8 +158,6 @@ predicate simpleLocalFlowStep(Node nodeFrom, Node nodeTo) {
// If there is ESSA-flow out of a node `node`, we want flow
// both out of `node` and any post-update node of `node`.
exists(Node node |
not node.(EssaNode).getVar() instanceof GlobalSsaVariable and
not nodeTo.(EssaNode).getVar() instanceof GlobalSsaVariable and
EssaFlow::essaFlowStep(node, nodeTo) and
nodeFrom = update(node)
)