@@ -139,7 +139,7 @@ typedef struct {
139139typedef struct {
140140 trampoline_state trampolines ;
141141 uintptr_t instruction_starts [UOP_MAX_TRACE_LENGTH ];
142- } jit_tracer_state ;
142+ } jit_state ;
143143
144144// Warning! AArch64 requires you to get your hands dirty. These are your gloves:
145145
@@ -443,7 +443,7 @@ patch_x86_64_32rx(unsigned char *location, uint64_t value)
443443 patch_32r (location , value );
444444}
445445
446- void patch_aarch64_trampoline (unsigned char * location , int ordinal , jit_tracer_state * state );
446+ void patch_aarch64_trampoline (unsigned char * location , int ordinal , jit_state * state );
447447
448448#include "jit_stencils.h"
449449
@@ -458,7 +458,7 @@ void patch_aarch64_trampoline(unsigned char *location, int ordinal, jit_tracer_s
458458// Generate and patch AArch64 trampolines. The symbols to jump to are stored
459459// in the jit_stencils.h in the symbols_map.
460460void
461- patch_aarch64_trampoline (unsigned char * location , int ordinal , jit_tracer_state * state )
461+ patch_aarch64_trampoline (unsigned char * location , int ordinal , jit_state * state )
462462{
463463
464464 uint64_t value = (uintptr_t )symbols_map [ordinal ];
@@ -518,7 +518,7 @@ _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction trace[], siz
518518 // Loop once to find the total compiled size:
519519 size_t code_size = 0 ;
520520 size_t data_size = 0 ;
521- jit_tracer_state state = {0 };
521+ jit_state state = {0 };
522522 for (size_t i = 0 ; i < length ; i ++ ) {
523523 const _PyUOpInstruction * instruction = & trace [i ];
524524 group = & stencil_groups [instruction -> opcode ];
@@ -596,7 +596,7 @@ compile_trampoline(void)
596596 const StencilGroup * group ;
597597 size_t code_size = 0 ;
598598 size_t data_size = 0 ;
599- jit_tracer_state state = {0 };
599+ jit_state state = {0 };
600600 group = & trampoline ;
601601 code_size += group -> code_size ;
602602 data_size += group -> data_size ;
0 commit comments