@@ -1031,8 +1031,8 @@ module SsaCached {
1031
1031
}
1032
1032
1033
1033
cached
1034
- Definition phiHasInputFromBlock ( PhiNode phi , IRBlock bb ) {
1035
- SsaImpl:: phiHasInputFromBlock ( phi , result , bb )
1034
+ Definition phiHasInputFromBlockExt ( PhiNode phi , IRBlock bb ) {
1035
+ SsaImpl:: phiHasInputFromBlockExt ( phi , result , bb )
1036
1036
}
1037
1037
1038
1038
cached
@@ -1189,11 +1189,11 @@ class Phi extends TPhi, SsaDef {
1189
1189
1190
1190
final override Location getLocation ( ) { result = phi .getBasicBlock ( ) .getLocation ( ) }
1191
1191
1192
- override string toString ( ) { result = "Phi" }
1192
+ override string toString ( ) { result = phi . toString ( ) }
1193
1193
1194
1194
SsaPhiNode getNode ( ) { result .getPhiNode ( ) = phi }
1195
1195
1196
- predicate hasInputFromBlock ( Definition inp , IRBlock bb ) { inp = phiHasInputFromBlock ( phi , bb ) }
1196
+ predicate hasInputFromBlock ( Definition inp , IRBlock bb ) { inp = phiHasInputFromBlockExt ( phi , bb ) }
1197
1197
1198
1198
final Definition getAnInput ( ) { this .hasInputFromBlock ( result , _) }
1199
1199
}
@@ -1221,7 +1221,7 @@ class PhiNode extends SsaImpl::DefinitionExt {
1221
1221
1222
1222
/** Holds if `inp` is an input to this phi node along the edge originating in `bb`. */
1223
1223
predicate hasInputFromBlock ( Definition inp , IRBlock bb ) {
1224
- inp = SsaCached:: phiHasInputFromBlock ( this , bb )
1224
+ inp = SsaCached:: phiHasInputFromBlockExt ( this , bb )
1225
1225
}
1226
1226
1227
1227
/** Gets a definition that is an input to this phi node. */
0 commit comments