mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-47009: Fix assert on big endian (GH-32332)
This commit is contained in:
parent
75280944e5
commit
9e88b572fb
1 changed files with 1 additions and 1 deletions
|
@ -5032,7 +5032,7 @@ handle_eval_breaker:
|
||||||
STAT_INC(PRECALL, hit);
|
STAT_INC(PRECALL, hit);
|
||||||
// PRECALL + CALL + POP_TOP
|
// PRECALL + CALL + POP_TOP
|
||||||
JUMPBY(INLINE_CACHE_ENTRIES_PRECALL + 1 + INLINE_CACHE_ENTRIES_CALL + 1);
|
JUMPBY(INLINE_CACHE_ENTRIES_PRECALL + 1 + INLINE_CACHE_ENTRIES_CALL + 1);
|
||||||
assert(next_instr[-1] == POP_TOP);
|
assert(_Py_OPCODE(next_instr[-1]) == POP_TOP);
|
||||||
PyObject *arg = POP();
|
PyObject *arg = POP();
|
||||||
if (_PyList_AppendTakeRef((PyListObject *)list, arg) < 0) {
|
if (_PyList_AppendTakeRef((PyListObject *)list, arg) < 0) {
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue