Skip to content

Commit 3fc6e2b

Browse files
authored
Merge pull request #6941 from RasmusWL/add-missing-noinline
Approved by tausbn
2 parents b5554da + 386c7e3 commit 3fc6e2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/lib/semmle/python/types/FunctionObject.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ class PyFunctionObject extends FunctionObject {
183183
}
184184

185185
/** Factored out to help join ordering */
186+
pragma[noinline]
186187
private predicate implicitlyReturns(Object none_, ClassObject noneType) {
187188
noneType = theNoneType() and
188189
not this.getFunction().isGenerator() and

0 commit comments

Comments
 (0)