mirror of https://github.com/python/cpython
gh-117176: Fix compiler warning in Python/optimizer_bytecodes.c (GH-117199)
This commit is contained in:
parent
83485a0953
commit
eebea7e515
|
@ -545,7 +545,7 @@ dummy_func(void) {
|
|||
|
||||
PyCodeObject *co = NULL;
|
||||
assert((this_instr + 2)->opcode == _PUSH_FRAME);
|
||||
uintptr_t push_operand = (this_instr + 2)->operand;
|
||||
uint64_t push_operand = (this_instr + 2)->operand;
|
||||
if (push_operand & 1) {
|
||||
co = (PyCodeObject *)(push_operand & ~1);
|
||||
DPRINTF(3, "code=%p ", co);
|
||||
|
|
|
@ -1598,7 +1598,7 @@
|
|||
(void)callable;
|
||||
PyCodeObject *co = NULL;
|
||||
assert((this_instr + 2)->opcode == _PUSH_FRAME);
|
||||
uintptr_t push_operand = (this_instr + 2)->operand;
|
||||
uint64_t push_operand = (this_instr + 2)->operand;
|
||||
if (push_operand & 1) {
|
||||
co = (PyCodeObject *)(push_operand & ~1);
|
||||
DPRINTF(3, "code=%p ", co);
|
||||
|
|
Loading…
Reference in New Issue