Skip to content

Commit 52c913b

Browse files
committed
JavaScript: cache AdditionalPartialInvokeNode
1 parent 3ca7d6b commit 52c913b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/dataflow/Configuration.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,11 @@ abstract class AdditionalSink extends DataFlow::Node {
288288
*
289289
* This contributes additional argument-passing flow edges that should be added to all data flow configurations.
290290
*/
291-
abstract class AdditionalPartialInvokeNode extends DataFlow::InvokeNode {
291+
cached abstract class AdditionalPartialInvokeNode extends DataFlow::InvokeNode {
292292
/**
293293
* Holds if `argument` is passed as argument `index` to the function in `callback`.
294294
*/
295-
abstract predicate isPartialArgument(DataFlow::Node callback, DataFlow::Node argument, int index);
295+
cached abstract predicate isPartialArgument(DataFlow::Node callback, DataFlow::Node argument, int index);
296296
}
297297

298298
/**

0 commit comments

Comments
 (0)