Skip to content

Commit fd65eeb

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

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
@@ -815,8 +815,7 @@ module API {
815815
* Holds if `rhs` is the right-hand side of a definition of a node that should have an
816816
* incoming edge from `base` labeled `lbl` in the API graph.
817817
*/
818-
cached
819-
predicate rhs(TApiNode base, Label::ApiLabel lbl, DataFlow::Node rhs) {
818+
private predicate rhs(TApiNode base, Label::ApiLabel lbl, DataFlow::Node rhs) {
820819
hasSemantics(rhs) and
821820
(
822821
base = MkRoot() and

0 commit comments

Comments
 (0)