@@ -180,8 +180,8 @@ predicate dynamicPropReadStep(Node base, Node key, SourceNode output) {
180180 keyParam .flowsTo ( innerKey ) and
181181 innerOutput .flowsTo ( callee .getAReturnedExpr ( ) .flow ( ) ) and
182182 call .getACallee ( ) = callee and
183- argumentPassing ( call , base , callee , baseParam ) and
184- argumentPassing ( call , key , callee , keyParam ) and
183+ argumentPassingStep ( call , base , callee , baseParam ) and
184+ argumentPassingStep ( call , key , callee , keyParam ) and
185185 output = call
186186 )
187187}
@@ -198,12 +198,12 @@ predicate isEnumeratedPropName(Node node) {
198198 |
199199 node = pred .getASuccessor ( )
200200 or
201- argumentPassing ( _, pred , _, node )
201+ argumentPassingStep ( _, pred , _, node )
202202 or
203203 // Handle one level of callbacks
204204 exists ( FunctionNode function , ParameterNode callback , int i |
205205 pred = callback .getAnInvocation ( ) .getArgument ( i ) and
206- argumentPassing ( _, function , _, callback ) and
206+ argumentPassingStep ( _, function , _, callback ) and
207207 node = function .getParameter ( i )
208208 )
209209 )
@@ -223,7 +223,7 @@ predicate isPotentiallyObjectPrototype(SourceNode node) {
223223 exists ( Node use |
224224 isPotentiallyObjectPrototype ( use .getALocalSource ( ) )
225225 |
226- argumentPassing ( _, use , _, node )
226+ argumentPassingStep ( _, use , _, node )
227227 )
228228}
229229
0 commit comments