mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-114058: More robust method handling in redundancy eliminator (GH-115779)
This commit is contained in:
parent
a494a3dd8e
commit
a33ffe4785
3 changed files with 41 additions and 16 deletions
|
@ -315,6 +315,7 @@ sym_new_known_notnull(_Py_UOpsAbstractInterpContext *ctx)
|
|||
if (res == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
sym_set_flag(res, KNOWN);
|
||||
sym_set_flag(res, NOT_NULL);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue