(clean-up) Make use of this explicit

This commit is contained in:
Owen Mansel-Chan
2021-02-02 11:04:16 +00:00
parent f279fa17af
commit dd079d4e51

View File

@@ -1187,7 +1187,7 @@ abstract class BarrierGuard extends Node {
(
// Case: a function like "if someBarrierGuard(arg) { return true } else { return false }"
exists(ControlFlow::ConditionGuardNode guard |
guards(guard, arg) and
this.guards(guard, arg) and
guard.dominates(ret.getBasicBlock())
|
exists(boolean b |
@@ -1221,7 +1221,7 @@ abstract class BarrierGuard extends Node {
DataFlow::Property outpProp
|
not exists(DataFlow::Node otherRet | otherRet = outp.getEntryNode(fd) | otherRet != ret) and
guardingFunction(f2, inp2, outp2, outpProp) and
this.guardingFunction(f2, inp2, outp2, outpProp) and
c = f2.getACall() and
arg = inp2.getNode(c) and
(