diff options
author | Ken Jin <kenjin@python.org> | 2024-02-23 07:42:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 07:42:03 (GMT) |
commit | a33ffe4785f90f68227ddf2ec3e06d5ceaf76cec (patch) | |
tree | 941f62dd34527cf4208ad9c319cc8f2fd7582d9e /Python/optimizer_analysis.c | |
parent | a494a3dd8e0e74861972698c37b14a4087a4688c (diff) | |
download | cpython-a33ffe4785f90f68227ddf2ec3e06d5ceaf76cec.zip cpython-a33ffe4785f90f68227ddf2ec3e06d5ceaf76cec.tar.gz cpython-a33ffe4785f90f68227ddf2ec3e06d5ceaf76cec.tar.bz2 |
gh-114058: More robust method handling in redundancy eliminator (GH-115779)
Diffstat (limited to 'Python/optimizer_analysis.c')
-rw-r--r-- | Python/optimizer_analysis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/optimizer_analysis.c b/Python/optimizer_analysis.c index 68ef825..9503dcc 100644 --- a/Python/optimizer_analysis.c +++ b/Python/optimizer_analysis.c @@ -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; } |