Skip to content

Commit 4511f7c

Browse files
committed
JS: Make use() and rhs() uncached and private
1 parent 73531e5 commit 4511f7c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javascript/ql/lib/semmle/javascript/ApiGraphs.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,7 @@ module API {
798798
* Holds if `rhs` is the right-hand side of a definition of a node that should have an
799799
* incoming edge from `base` labeled `lbl` in the API graph.
800800
*/
801-
cached
802-
predicate rhs(TApiNode base, Label::ApiLabel lbl, DataFlow::Node rhs) {
801+
private predicate rhs(TApiNode base, Label::ApiLabel lbl, DataFlow::Node rhs) {
803802
hasSemantics(rhs) and
804803
(
805804
base = MkRoot() and

0 commit comments

Comments
 (0)