From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Sat, 25 Oct 2025 23:57:30 +0000 (+0100) Subject: fix no-opt JIT X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ab76a8fcbc8388a54cc0ca3caaaac5a56bbe680;p=thirdparty%2FPython%2Fcpython.git fix no-opt JIT --- diff --git a/Python/optimizer.c b/Python/optimizer.c index 995ddee86058..f745f16fcf30 100644 --- a/Python/optimizer.c +++ b/Python/optimizer.c @@ -690,7 +690,7 @@ _PyJit_translate_single_bytecode_to_trace( } // One for possible _DEOPT, one because _CHECK_VALIDITY itself might _DEOPT - max_length -= 1; + max_length -= 2; const struct opcode_macro_expansion *expansion = &_PyOpcode_macro_expansion[opcode];