@@ -266,15 +266,15 @@ predicate definitionReaches(Variable v, VarDef def, VarUse use) {
266
266
* Holds if the definition of local variable `v` in `def` reaches `use` along some control flow path
267
267
* without crossing another definition of `v`.
268
268
*/
269
- predicate localDefinitionReaches ( LocalVariable v , VarDef def , VarUse use ) {
269
+ deprecated predicate localDefinitionReaches ( LocalVariable v , VarDef def , VarUse use ) {
270
270
exists ( SsaExplicitDefinition ssa |
271
271
ssa .defines ( def , v ) and
272
272
ssa = getAPseudoDefinitionInput * ( use .getSsaVariable ( ) .getDefinition ( ) )
273
273
)
274
274
}
275
275
276
276
/** Holds if `nd` is a pseudo-definition and the result is one of its inputs. */
277
- private SsaDefinition getAPseudoDefinitionInput ( SsaDefinition nd ) {
277
+ deprecated private SsaDefinition getAPseudoDefinitionInput ( SsaDefinition nd ) {
278
278
result = nd .( SsaPseudoDefinition ) .getAnInput ( )
279
279
}
280
280
@@ -297,7 +297,7 @@ private int nextDefAfter(BasicBlock bb, Variable v, int i, VarDef d) {
297
297
* This is the case if there is a path from `earlier` to `later` that does not cross
298
298
* another definition of `v`.
299
299
*/
300
- predicate localDefinitionOverwrites ( LocalVariable v , VarDef earlier , VarDef later ) {
300
+ deprecated predicate localDefinitionOverwrites ( LocalVariable v , VarDef earlier , VarDef later ) {
301
301
exists ( BasicBlock bb , int i , int next | next = nextDefAfter ( bb , v , i , earlier ) |
302
302
bb .defAt ( next , v , later )
303
303
or
0 commit comments