@@ -218,18 +218,18 @@ private predicate hasVariableReadWithCapturedWrite(
218218
219219pragma [ noinline]
220220deprecated private predicate adjacentDefReadExt (
221- DefinitionExt def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2 ,
221+ Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2 ,
222222 SsaInput:: SourceVariable v
223223) {
224224 Impl:: adjacentDefReadExt ( def , _, bb1 , i1 , bb2 , i2 ) and
225225 v = def .getSourceVariable ( )
226226}
227227
228228deprecated private predicate adjacentDefReachesReadExt (
229- DefinitionExt def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2
229+ Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2
230230) {
231231 exists ( SsaInput:: SourceVariable v | adjacentDefReadExt ( def , bb1 , i1 , bb2 , i2 , v ) |
232- def .definesAt ( v , bb1 , i1 , _ )
232+ def .definesAt ( v , bb1 , i1 )
233233 or
234234 SsaInput:: variableRead ( bb1 , i1 , v , true )
235235 )
@@ -242,7 +242,7 @@ deprecated private predicate adjacentDefReachesReadExt(
242242}
243243
244244deprecated private predicate adjacentDefReachesUncertainReadExt (
245- DefinitionExt def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2
245+ Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2
246246) {
247247 adjacentDefReachesReadExt ( def , bb1 , i1 , bb2 , i2 ) and
248248 SsaInput:: variableRead ( bb2 , i2 , _, false )
@@ -251,7 +251,7 @@ deprecated private predicate adjacentDefReachesUncertainReadExt(
251251/** Same as `lastRefRedef`, but skips uncertain reads. */
252252pragma [ nomagic]
253253deprecated private predicate lastRefSkipUncertainReadsExt (
254- DefinitionExt def , SsaInput:: BasicBlock bb , int i
254+ Definition def , SsaInput:: BasicBlock bb , int i
255255) {
256256 Impl:: lastRef ( def , bb , i ) and
257257 not SsaInput:: variableRead ( bb , i , def .getSourceVariable ( ) , false )
@@ -413,33 +413,6 @@ private module Cached {
413413
414414import Cached
415415
416- /**
417- * An extended static single assignment (SSA) definition.
418- *
419- * This is either a normal SSA definition (`Definition`) or a
420- * phi-read node (`PhiReadNode`).
421- *
422- * Only intended for internal use.
423- */
424- deprecated class DefinitionExt extends Impl:: DefinitionExt {
425- VariableReadAccessCfgNode getARead ( ) { result = getARead ( this ) }
426-
427- override string toString ( ) { result = this .( Ssa:: Definition ) .toString ( ) }
428-
429- override Location getLocation ( ) { result = this .( Ssa:: Definition ) .getLocation ( ) }
430- }
431-
432- /**
433- * A phi-read node.
434- *
435- * Only intended for internal use.
436- */
437- deprecated class PhiReadNode extends DefinitionExt , Impl:: PhiReadNode {
438- override string toString ( ) { result = "SSA phi read(" + this .getSourceVariable ( ) + ")" }
439-
440- override Location getLocation ( ) { result = Impl:: PhiReadNode .super .getLocation ( ) }
441- }
442-
443416class NormalParameter extends Parameter {
444417 NormalParameter ( ) {
445418 this instanceof SimpleParameter or
0 commit comments