Skip to content

Commit 32bcb18

Browse files
committed
add pragma[inline] to getAnAliasedSourceNode
1 parent 72114a4 commit 32bcb18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/GlobalAccessPaths.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ module AccessPath {
416416
/**
417417
* Gets a SourceNode that is accessed using the same access path as the input.
418418
*/
419+
pragma[inline]
419420
DataFlow::SourceNode getAnAliasedSourceNode(DataFlow::Node node) {
420421
exists(DataFlow::SourceNode root, string accessPath |
421422
node = AccessPath::getAReferenceTo(root, accessPath) and

0 commit comments

Comments
 (0)