mirror of https://github.com/python/cpython.git
gh-131281: fix compile error due to `BINARY_SUBSCR` (GH-131283)
* fix compile error due to `BINARY_SUBSCR` * replace stat_inc with `BINARY_OP`
This commit is contained in:
parent
55815a6474
commit
1821f8f10c
|
@ -878,7 +878,7 @@ dummy_func(
|
|||
assert(res_o != NULL);
|
||||
res = PyStackRef_FromPyObjectNew(res_o);
|
||||
#endif
|
||||
STAT_INC(BINARY_SUBSCR, hit);
|
||||
STAT_INC(BINARY_OP, hit);
|
||||
DECREF_INPUTS();
|
||||
}
|
||||
|
||||
|
|
|
@ -1253,7 +1253,7 @@
|
|||
assert(res_o != NULL);
|
||||
res = PyStackRef_FromPyObjectNew(res_o);
|
||||
#endif
|
||||
STAT_INC(BINARY_SUBSCR, hit);
|
||||
STAT_INC(BINARY_OP, hit);
|
||||
_PyFrame_SetStackPointer(frame, stack_pointer);
|
||||
_PyStackRef tmp = list_st;
|
||||
list_st = res;
|
||||
|
|
|
@ -702,7 +702,7 @@
|
|||
assert(res_o != NULL);
|
||||
res = PyStackRef_FromPyObjectNew(res_o);
|
||||
#endif
|
||||
STAT_INC(BINARY_SUBSCR, hit);
|
||||
STAT_INC(BINARY_OP, hit);
|
||||
_PyFrame_SetStackPointer(frame, stack_pointer);
|
||||
_PyStackRef tmp = list_st;
|
||||
list_st = res;
|
||||
|
|
Loading…
Reference in New Issue