Skip to content

Commit 7ab76a8

Browse files
fix no-opt JIT
1 parent bf17539 commit 7ab76a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ _PyJit_translate_single_bytecode_to_trace(
690690
}
691691

692692
// One for possible _DEOPT, one because _CHECK_VALIDITY itself might _DEOPT
693-
max_length -= 1;
693+
max_length -= 2;
694694

695695
const struct opcode_macro_expansion *expansion = &_PyOpcode_macro_expansion[opcode];
696696

0 commit comments

Comments
 (0)