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 aaf6873 commit 547f587Copy full SHA for 547f587
Python/optimizer.c
@@ -711,7 +711,10 @@ _PyJit_translate_single_bytecode_to_trace(
711
max_length--;
712
}
713
714
- RESERVE_RAW(expansion->nuops + needs_guard_ip + 3 + (!OPCODE_HAS_NO_SAVE_IP(opcode)), "uop and various checks");
+ // _GUARD_IP leads to an exit.
715
+ max_length -= needs_guard_ip;
716
+
717
+ RESERVE_RAW(expansion->nuops + needs_guard_ip + 2 + (!OPCODE_HAS_NO_SAVE_IP(opcode)), "uop and various checks");
718
719
ADD_TO_TRACE(_CHECK_VALIDITY, 0, 0, target);
720
0 commit comments