mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
SSA: Fix phi defs.
This commit is contained in:
@@ -1761,7 +1761,7 @@ module Make<
|
||||
* ```
|
||||
* a phi definition for `x` is inserted just before the call `puts x`.
|
||||
*/
|
||||
class SsaPhiDefinition extends SsaDefinition {
|
||||
class SsaPhiDefinition extends SsaDefinition instanceof PhiNode {
|
||||
/** Holds if `inp` is an input to this phi definition along the edge originating in `bb`. */
|
||||
predicate hasInputFromBlock(SsaDefinition inp, BasicBlock bb) {
|
||||
phiHasInputFromBlockCached(this, inp, bb)
|
||||
|
||||
Reference in New Issue
Block a user