More jit fixes

This commit is contained in:
Pablo Galindo Salgado 2025-12-06 18:08:33 +00:00
parent 8e1b20a77a
commit 70e5ce7425

View file

@ -597,7 +597,7 @@ _PyJit_translate_single_bytecode_to_trace(
uint32_t target = 0;
target = Py_IsNone((PyObject *)old_code)
? (int)(target_instr - _Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS_PTR)
? (uint32_t)(target_instr - _Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS_PTR)
: INSTR_IP(target_instr, old_code);
// Rewind EXTENDED_ARG so that we see the whole thing.