mirror of
https://github.com/github/codeql.git
synced 2026-01-30 06:42:57 +01:00
Make use of this explicit
It makes it easier to understand the code.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user