SSA: Fix phi defs.

This commit is contained in:
Anders Schack-Mulligen
2025-10-27 11:22:18 +01:00
parent 374c77213f
commit 79b2f21b07

View File

@@ -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)