We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed28435 commit e955f58Copy full SHA for e955f58
java/ql/lib/semmle/code/java/dataflow/internal/SsaImpl.qll
@@ -619,13 +619,12 @@ private module Cached {
619
useReaches(use, mid, sameVarMid) and
620
DataFlowIntegration::localFlowStep(_, mid, node, _)
621
|
622
- // flow into phi input node
623
- mid instanceof DataFlowIntegration::SsaInputNode and
624
- sameVar = false
625
- or
626
- // flow into definition
627
exists(Impl::DefinitionExt def |
+ // flow into definition
628
def = mid.(DataFlowIntegration::SsaDefinitionExtNode).getDefinitionExt()
+ or
+ // flow into phi input node
+ def = mid.(DataFlowIntegration::SsaInputNode).getDefinitionExt()
629
630
if def instanceof Impl::PhiReadNode then sameVar = sameVarMid else sameVar = false
631
)
0 commit comments