Skip to content

Commit 386c7e3

Browse files
committed
Python: Add missing pragma[noinline]
1 parent b0af805 commit 386c7e3

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)