@@ -218,18 +218,18 @@ private predicate hasVariableReadWithCapturedWrite(
218
218
219
219
pragma [ noinline]
220
220
deprecated 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 ,
222
222
SsaInput:: SourceVariable v
223
223
) {
224
224
Impl:: adjacentDefReadExt ( def , _, bb1 , i1 , bb2 , i2 ) and
225
225
v = def .getSourceVariable ( )
226
226
}
227
227
228
228
deprecated 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
230
230
) {
231
231
exists ( SsaInput:: SourceVariable v | adjacentDefReadExt ( def , bb1 , i1 , bb2 , i2 , v ) |
232
- def .definesAt ( v , bb1 , i1 , _ )
232
+ def .definesAt ( v , bb1 , i1 )
233
233
or
234
234
SsaInput:: variableRead ( bb1 , i1 , v , true )
235
235
)
@@ -242,7 +242,7 @@ deprecated private predicate adjacentDefReachesReadExt(
242
242
}
243
243
244
244
deprecated 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
246
246
) {
247
247
adjacentDefReachesReadExt ( def , bb1 , i1 , bb2 , i2 ) and
248
248
SsaInput:: variableRead ( bb2 , i2 , _, false )
@@ -251,7 +251,7 @@ deprecated private predicate adjacentDefReachesUncertainReadExt(
251
251
/** Same as `lastRefRedef`, but skips uncertain reads. */
252
252
pragma [ nomagic]
253
253
deprecated private predicate lastRefSkipUncertainReadsExt (
254
- DefinitionExt def , SsaInput:: BasicBlock bb , int i
254
+ Definition def , SsaInput:: BasicBlock bb , int i
255
255
) {
256
256
Impl:: lastRef ( def , bb , i ) and
257
257
not SsaInput:: variableRead ( bb , i , def .getSourceVariable ( ) , false )
@@ -413,33 +413,6 @@ private module Cached {
413
413
414
414
import Cached
415
415
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
-
443
416
class NormalParameter extends Parameter {
444
417
NormalParameter ( ) {
445
418
this instanceof SimpleParameter or
0 commit comments