Skip to content

Commit 1b1e9ed

Browse files
author
Esben Sparre Andreasen
committed
JS: cache matchMarkerComment
1 parent 189ac6c commit 1b1e9ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/dependencies/FrameworkLibraries.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ class FrameworkLibraryInstanceWithMarkerComment extends FrameworkLibraryInstance
184184
* Holds if comment `c` in toplevel `tl` matches the marker comment of library
185185
* `fl` at `version`.
186186
*/
187+
cached
187188
private predicate matchMarkerComment(
188189
Comment c, TopLevel tl, FrameworkLibraryWithMarkerComment fl, string version
189190
) {

0 commit comments

Comments
 (0)