mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
gh-125470: Fix warning in Python/generated_cases.c.h
(#125471)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
843d28f59d
commit
0c8c665581
3 changed files with 6 additions and 0 deletions
|
@ -611,7 +611,9 @@ dummy_func(
|
||||||
// specializations, but there is no output.
|
// specializations, but there is no output.
|
||||||
// At the end we just skip over the STORE_FAST.
|
// At the end we just skip over the STORE_FAST.
|
||||||
op(_BINARY_OP_INPLACE_ADD_UNICODE, (left, right --)) {
|
op(_BINARY_OP_INPLACE_ADD_UNICODE, (left, right --)) {
|
||||||
|
#ifndef NDEBUG
|
||||||
PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
|
PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
|
||||||
|
#endif
|
||||||
PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
|
PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
|
||||||
|
|
||||||
int next_oparg;
|
int next_oparg;
|
||||||
|
|
2
Python/executor_cases.c.h
generated
2
Python/executor_cases.c.h
generated
|
@ -737,7 +737,9 @@
|
||||||
_PyStackRef left;
|
_PyStackRef left;
|
||||||
right = stack_pointer[-1];
|
right = stack_pointer[-1];
|
||||||
left = stack_pointer[-2];
|
left = stack_pointer[-2];
|
||||||
|
#ifndef NDEBUG
|
||||||
PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
|
PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
|
||||||
|
#endif
|
||||||
PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
|
PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
|
||||||
int next_oparg;
|
int next_oparg;
|
||||||
#if TIER_ONE
|
#if TIER_ONE
|
||||||
|
|
2
Python/generated_cases.c.h
generated
2
Python/generated_cases.c.h
generated
|
@ -183,7 +183,9 @@
|
||||||
/* Skip 1 cache entry */
|
/* Skip 1 cache entry */
|
||||||
// _BINARY_OP_INPLACE_ADD_UNICODE
|
// _BINARY_OP_INPLACE_ADD_UNICODE
|
||||||
{
|
{
|
||||||
|
#ifndef NDEBUG
|
||||||
PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
|
PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
|
||||||
|
#endif
|
||||||
PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
|
PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
|
||||||
int next_oparg;
|
int next_oparg;
|
||||||
#if TIER_ONE
|
#if TIER_ONE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue