Skip to content

Commit 2722062

Browse files
committed
JS: Make use() and rhs() uncached and private
1 parent 8af5492 commit 2722062

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,7 @@ module API {
809809
* Holds if `rhs` is the right-hand side of a definition of a node that should have an
810810
* incoming edge from `base` labeled `lbl` in the API graph.
811811
*/
812-
cached
813-
predicate rhs(TApiNode base, Label::ApiLabel lbl, DataFlow::Node rhs) {
812+
private predicate rhs(TApiNode base, Label::ApiLabel lbl, DataFlow::Node rhs) {
814813
hasSemantics(rhs) and
815814
(
816815
base = MkRoot() and

0 commit comments

Comments
 (0)