Skip to content

Commit b9be794

Browse files
committed
Kotlin: Performance tweak
1 parent 65afd0d commit b9be794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dispatch/ObjFlow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private predicate returnStep(Node n1, Node n2) {
5353
exists(ReturnStmt ret, Method m |
5454
ret.getEnclosingCallable() = m and
5555
ret.getResult() = n1.asExpr() and
56-
m = dispatchCand(n2.asExpr())
56+
pragma[only_bind_out](m) = dispatchCand(n2.asExpr())
5757
)
5858
}
5959

0 commit comments

Comments
 (0)