Merge pull request #6941 from RasmusWL/add-missing-noinline

Approved by tausbn
This commit is contained in:
CodeQL CI
2021-10-25 15:23:37 +01:00
committed by GitHub

View File

@@ -183,6 +183,7 @@ class PyFunctionObject extends FunctionObject {
}
/** Factored out to help join ordering */
pragma[noinline]
private predicate implicitlyReturns(Object none_, ClassObject noneType) {
noneType = theNoneType() and
not this.getFunction().isGenerator() and