mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
JIT: Move executor to a register (#143072)
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Generated
+1
-1
@@ -16992,7 +16992,7 @@
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user