Revert "Ruby: Fix performance for argumentPositionMatch"

as requested to use a different performance fix

and

Revert "Dataflow: Sync `DataFlowImplCommon`"

This reverts commit c9a833fc07
This reverts commit 911ddb9b2c.
This commit is contained in:
Rasmus Wriedt Larsen
2022-05-25 09:56:10 +02:00
parent ae65af2c07
commit 0bf0e0e16c
6 changed files with 12 additions and 12 deletions

View File

@@ -80,8 +80,8 @@ predicate accessPathCostLimits(int apLimit, int tupleLimit) {
pragma[noinline]
predicate argumentPositionMatch(DataFlowCall call, ArgNode arg, ParameterPosition ppos) {
exists(ArgumentPosition apos |
arg.argumentOf(call, pragma[only_bind_into](apos)) and
parameterMatch(ppos, pragma[only_bind_into](apos))
arg.argumentOf(call, apos) and
parameterMatch(ppos, apos)
)
}