]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update generated_cases.c.h
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 7 Nov 2025 23:05:59 +0000 (23:05 +0000)
committerKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 7 Nov 2025 23:05:59 +0000 (23:05 +0000)
Python/generated_cases.c.h

index a45138e6e6c5b925fc4917cd3ccd471f94e708cc..284d90869aea80820517a2b6cf6e6ab8dea98d28 100644 (file)
                 if (!IS_JIT_TRACING() && backoff_counter_triggers(counter) &&
                     this_instr->op.code == JUMP_BACKWARD_JIT &&
                     next_instr->op.code != ENTER_EXECUTOR) {
-                    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
-                    if (_tstate->jit_state.code_buffer == NULL) {
-                        _PyFrame_SetStackPointer(frame, stack_pointer);
-                        _tstate->jit_state.code_buffer = (_PyUOpInstruction *)_PyObject_VirtualAlloc(UOP_BUFFER_SIZE);
-                        stack_pointer = _PyFrame_GetStackPointer(frame);
-                        if (_tstate->jit_state.code_buffer == NULL) {
-                            DISPATCH();
-                        }
-                    }
                     _Py_CODEUNIT *insert_exec_at = this_instr;
                     while (oparg > 255) {
                         oparg >>= 8;