aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/optimizer_cases.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/optimizer_cases.c.h')
-rw-r--r--Python/optimizer_cases.c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/optimizer_cases.c.h b/Python/optimizer_cases.c.h
index b46079ec8a1..0fcf5e18ed5 100644
--- a/Python/optimizer_cases.c.h
+++ b/Python/optimizer_cases.c.h
@@ -211,7 +211,7 @@
case _REPLACE_WITH_TRUE: {
_Py_UopsSymbol *res;
- res = sym_new_not_null(ctx);
+ res = sym_new_const(ctx, Py_True);
stack_pointer[-1] = res;
break;
}