Skip to content

Commit 72cbcc5

Browse files
committed
SSA: Fix phi defs.
1 parent aeb2284 commit 72cbcc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/ssa/codeql/ssa/Ssa.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ module Make<
17611761
* ```
17621762
* a phi definition for `x` is inserted just before the call `puts x`.
17631763
*/
1764-
class SsaPhiDefinition extends SsaDefinition {
1764+
class SsaPhiDefinition extends SsaDefinition instanceof PhiNode {
17651765
/** Holds if `inp` is an input to this phi definition along the edge originating in `bb`. */
17661766
predicate hasInputFromBlock(SsaDefinition inp, BasicBlock bb) {
17671767
phiHasInputFromBlockCached(this, inp, bb)

0 commit comments

Comments
 (0)