We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 115df84 commit 4bd8320Copy full SHA for 4bd8320
Python/optimizer.c
@@ -548,8 +548,8 @@ translate_bytecode_to_trace(
548
if (trace[i].opcode == _POP_JUMP_IF_FALSE ||
549
trace[i].opcode == _POP_JUMP_IF_TRUE)
550
{
551
- int target = trace[i].operand;
552
- if (target >= max_length) {
+ uint64_t target = trace[i].operand;
+ if (target >= (uint64_t)max_length) {
553
target += trace_length - max_length;
554
trace[i].operand = target;
555
}
0 commit comments