Make use of this explicit

It makes it easier to understand the code.
This commit is contained in:
Owen Mansel-Chan
2021-01-18 16:18:19 +00:00
parent 903ff33b0d
commit e2a79f400e

View File

@@ -1126,7 +1126,7 @@ abstract class BarrierGuard extends Node {
exists(ControlFlow::ConditionGuardNode guard, Node nd, SsaWithFields var |
result = var.getAUse()
|
guards(guard, nd, var) and
this.guards(guard, nd, var) and
guard.dominates(result.getBasicBlock())
)
}
@@ -1139,7 +1139,7 @@ abstract class BarrierGuard extends Node {
*/
pragma[noinline]
private predicate guards(ControlFlow::ConditionGuardNode guard, Node nd, SsaWithFields ap) {
guards(guard, nd) and nd = ap.getAUse()
this.guards(guard, nd) and nd = ap.getAUse()
}
/**