mirror of
https://github.com/python/cpython
synced 2024-09-15 21:50:10 +00:00
gh-111386: Fix uint32_t
cast in generated_cases.c.h
(#111387)
This commit is contained in:
parent
aa732459c5
commit
524a701d07
|
@ -2686,7 +2686,7 @@ dummy_func(
|
|||
assert(next_instr[oparg].op.code == END_FOR ||
|
||||
next_instr[oparg].op.code == INSTRUMENTED_END_FOR);
|
||||
assert(1 + INLINE_CACHE_ENTRIES_FOR_ITER == next_instr - frame->instr_ptr);
|
||||
frame->return_offset = 1 + INLINE_CACHE_ENTRIES_FOR_ITER + oparg;
|
||||
frame->return_offset = (uint16_t)(1 + INLINE_CACHE_ENTRIES_FOR_ITER + oparg);
|
||||
DISPATCH_INLINED(gen_frame);
|
||||
}
|
||||
|
||||
|
|
2
Python/generated_cases.c.h
generated
2
Python/generated_cases.c.h
generated
|
@ -3440,7 +3440,7 @@
|
|||
assert(next_instr[oparg].op.code == END_FOR ||
|
||||
next_instr[oparg].op.code == INSTRUMENTED_END_FOR);
|
||||
assert(1 + INLINE_CACHE_ENTRIES_FOR_ITER == next_instr - frame->instr_ptr);
|
||||
frame->return_offset = 1 + INLINE_CACHE_ENTRIES_FOR_ITER + oparg;
|
||||
frame->return_offset = (uint16_t)(1 + INLINE_CACHE_ENTRIES_FOR_ITER + oparg);
|
||||
DISPATCH_INLINED(gen_frame);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue