mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-115685: Type/values propagate for TO_BOOL in tier 2 (GH-115686)
This commit is contained in:
parent
c04a981ff4
commit
d01886c5c9
6 changed files with 163 additions and 30 deletions
11
Python/executor_cases.c.h
generated
11
Python/executor_cases.c.h
generated
|
@ -3759,6 +3759,17 @@
|
|||
break;
|
||||
}
|
||||
|
||||
case _POP_TOP_LOAD_CONST_INLINE_BORROW: {
|
||||
PyObject *pop;
|
||||
PyObject *value;
|
||||
pop = stack_pointer[-1];
|
||||
PyObject *ptr = (PyObject *)CURRENT_OPERAND();
|
||||
Py_DECREF(pop);
|
||||
value = ptr;
|
||||
stack_pointer[-1] = value;
|
||||
break;
|
||||
}
|
||||
|
||||
case _LOAD_CONST_INLINE_WITH_NULL: {
|
||||
PyObject *value;
|
||||
PyObject *null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue