Skip to content

Commit 0149fb6

Browse files
committed
C++: Simplify.
1 parent 2517907 commit 0149fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ class SsaPhiNode extends Node, TSsaPhiNode {
635635
*/
636636
cached
637637
final Node getAnInput(boolean fromBackEdge) {
638-
localFlowStep(result, this) and
638+
result.(SsaPhiInputNode).getPhiNode() = phi and
639639
exists(IRBlock bPhi, IRBlock bResult |
640640
bPhi = phi.getBasicBlock() and bResult = result.getBasicBlock()
641641
|

0 commit comments

Comments
 (0)