@@ -286,12 +286,12 @@ copy_and_patch(char *base, const Stencil *stencil, uint64_t *patches)
286
286
}
287
287
288
288
static void
289
- emit (const StencilGroup * stencil_group , uint64_t patches [])
289
+ emit (const StencilGroup * group , uint64_t patches [])
290
290
{
291
291
char * data = (char * )patches [HoleValue_DATA ];
292
- copy_and_patch (data , & stencil_group -> data , patches );
292
+ copy_and_patch (data , & group -> data , patches );
293
293
char * text = (char * )patches [HoleValue_TEXT ];
294
- copy_and_patch (text , & stencil_group -> text , patches );
294
+ copy_and_patch (text , & group -> text , patches );
295
295
}
296
296
297
297
// This becomes the executor's execute member, and handles some setup/teardown:
@@ -316,9 +316,9 @@ _PyJIT_Compile(_PyUOpExecutorObject *executor)
316
316
size_t data_size = 0 ;
317
317
for (Py_ssize_t i = 0 ; i < Py_SIZE (executor ); i ++ ) {
318
318
_PyUOpInstruction * instruction = & executor -> trace [i ];
319
- const StencilGroup * stencil_group = & stencil_groups [instruction -> opcode ];
320
- text_size += stencil_group -> text .body_size ;
321
- data_size += stencil_group -> data .body_size ;
319
+ const StencilGroup * group = & stencil_groups [instruction -> opcode ];
320
+ text_size += group -> text .body_size ;
321
+ data_size += group -> data .body_size ;
322
322
}
323
323
// Round up to the nearest page (text and data need separate pages):
324
324
size_t page_size = get_page_size ();
@@ -334,10 +334,10 @@ _PyJIT_Compile(_PyUOpExecutorObject *executor)
334
334
char * data = memory + text_size ;
335
335
for (Py_ssize_t i = 0 ; i < Py_SIZE (executor ); i ++ ) {
336
336
_PyUOpInstruction * instruction = & executor -> trace [i ];
337
- const StencilGroup * stencil_group = & stencil_groups [instruction -> opcode ];
337
+ const StencilGroup * group = & stencil_groups [instruction -> opcode ];
338
338
// Think of patches as a dictionary mapping HoleValue to uint64_t:
339
339
uint64_t patches [] = GET_PATCHES ();
340
- patches [HoleValue_CONTINUE ] = (uint64_t )text + stencil_group -> text .body_size ;
340
+ patches [HoleValue_CONTINUE ] = (uint64_t )text + group -> text .body_size ;
341
341
patches [HoleValue_CURRENT_EXECUTOR ] = (uint64_t )executor ;
342
342
patches [HoleValue_OPARG ] = instruction -> oparg ;
343
343
patches [HoleValue_OPERAND ] = instruction -> operand ;
@@ -346,9 +346,9 @@ _PyJIT_Compile(_PyUOpExecutorObject *executor)
346
346
patches [HoleValue_TEXT ] = (uint64_t )text ;
347
347
patches [HoleValue_TOP ] = (uint64_t )memory ;
348
348
patches [HoleValue_ZERO ] = 0 ;
349
- emit (stencil_group , patches );
350
- text += stencil_group -> text .body_size ;
351
- data += stencil_group -> data .body_size ;
349
+ emit (group , patches );
350
+ text += group -> text .body_size ;
351
+ data += group -> data .body_size ;
352
352
}
353
353
if (mark_executable (memory , text_size ) ||
354
354
mark_readable (memory + text_size , data_size ))
0 commit comments