JIT: Move executor to a register (#143072)

This commit is contained in:
Diego Russo 2025-12-24 09:44:16 +00:00 committed by GitHub
parent 50ecd6b880
commit fc2f0fea6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 13 deletions

View file

@ -5296,7 +5296,7 @@ dummy_func(
assert(current_executor == (_PyExecutorObject*)executor);
#endif
assert(tstate->jit_exit == NULL || tstate->jit_exit->executor == current_executor);
tstate->current_executor = (PyObject *)executor;
tstate->current_executor = (PyObject *)current_executor;
if (!current_executor->vm_data.valid) {
assert(tstate->jit_exit->executor == current_executor);
assert(tstate->current_executor == executor);