@@ -2970,9 +2970,9 @@ dummy_func(
29702970 if (!IS_JIT_TRACING () && backoff_counter_triggers (counter ) &&
29712971 this_instr -> op .code == JUMP_BACKWARD_JIT &&
29722972 next_instr -> op .code != ENTER_EXECUTOR ) {
2973- if (tstate -> interp -> jit_state .jit_tracer_code_buffer == NULL ) {
2974- tstate -> interp -> jit_state .jit_tracer_code_buffer = (_PyUOpInstruction * )_PyObject_VirtualAlloc (UOP_BUFFER_SIZE );
2975- if (tstate -> interp -> jit_state .jit_tracer_code_buffer == NULL ) {
2973+ if (tstate -> interp -> jit_state .code_buffer == NULL ) {
2974+ tstate -> interp -> jit_state .code_buffer = (_PyUOpInstruction * )_PyObject_VirtualAlloc (UOP_BUFFER_SIZE );
2975+ if (tstate -> interp -> jit_state .code_buffer == NULL ) {
29762976 // Don't error, just go to next instruction.
29772977 DISPATCH ();
29782978 }
@@ -2985,7 +2985,7 @@ dummy_func(
29852985 oparg >>= 8 ;
29862986 insert_exec_at -- ;
29872987 }
2988- _PyJIT_InitializeTracing (tstate , frame , insert_exec_at , next_instr , STACK_LEVEL (), 0 , NULL );
2988+ _PyJit_InitializeTracing (tstate , frame , insert_exec_at , next_instr , STACK_LEVEL (), 0 , NULL );
29892989 ENTER_TRACING ();
29902990 }
29912991 int _jump_taken = false;
@@ -5456,7 +5456,7 @@ dummy_func(
54565456 _PyExecutorObject * previous_executor = _PyExecutor_FromExit (exit );
54575457 assert (tstate -> current_executor == (PyObject * )previous_executor );
54585458 int chain_depth = previous_executor -> vm_data .chain_depth + 1 ;
5459- _PyJIT_InitializeTracing (tstate , frame , target , target , STACK_LEVEL (), chain_depth , exit );
5459+ _PyJit_InitializeTracing (tstate , frame , target , target , STACK_LEVEL (), chain_depth , exit );
54605460 exit -> temperature = initial_temperature_backoff_counter ();
54615461 GOTO_TIER_ONE (target , 1 );
54625462 }
0 commit comments