TypeFlow: Rename step to uniqStep.

This commit is contained in:
Anders Schack-Mulligen
2024-10-28 15:00:05 +01:00
parent b112a9b31e
commit 3939eff260
4 changed files with 10 additions and 10 deletions

View File

@@ -199,7 +199,7 @@ private module Input implements TypeFlowInput<Location> {
i2.(PointerArithmeticInstruction).getLeft() = i1
}
predicate step(TypeFlowNode n1, TypeFlowNode n2) {
predicate uniqStep(TypeFlowNode n1, TypeFlowNode n2) {
instructionStep(n1.asInstruction(), n2.asInstruction())
}
@@ -246,7 +246,7 @@ private module Input implements TypeFlowInput<Location> {
pragma[nomagic]
private predicate upcastCand(TypeFlowNode n, Type t1, Type t2) {
exists(TypeFlowNode next |
step(n, next)
uniqStep(n, next)
or
joinStep(n, next)
|