@@ -86,7 +86,7 @@ have changed.
8686When the full jit is enabled (python was configured with
8787[ ` --enable-experimental-jit ` ] ( https://docs.python.org/dev/using/configure.html#cmdoption-enable-experimental-jit ) ,
8888the uop executor's ` jit_code ` field is populated with a pointer to a compiled
89- C function that implement the executor logic. This function's signature is
89+ C function that implements the executor logic. This function's signature is
9090defined by ` jit_func ` in [ ` pycore_jit.h ` ] ( Include/internal/pycore_jit.h ) .
9191When the executor is invoked by ` ENTER_EXECUTOR ` , instead of jumping to
9292the uop interpreter at ` tier2_dispatch ` , the executor runs the function
@@ -101,16 +101,16 @@ of the micro ops, which are completed with runtime information while
101101the jitted code is constructed for an executor by
102102[ ` _PyJIT_Compile ` ] ( ../Python/jit.c ) .
103103
104- The stencils are generated under the build target ` regen-jit ` by the scripts
105- in [ ` /Tools/jit ` ] ( /Tools/jit ) . This script reads
104+ The stencils are generated at build time under the Makefile target ` regen-jit `
105+ by the scripts in [ ` /Tools/jit ` ] ( /Tools/jit ) . This script reads
106106[ ` Python/executor_cases.c.h ` ] ( ../Python/executor_cases.c.h ) (which is
107107generated from [ ` Python/bytecodes.c ` ] ( ../Python/bytecodes.c ) ). For
108108each opcode, it constructs a ` .c ` file that contains a function for
109109implementing this opcode, with some runtime information injected.
110110This is done by replacing ` CASE ` by the bytecode definition in the
111111template file [ ` Tools/jit/template.c ` ] ( ../Tools/jit/template.c ) .
112112
113- Each of the ` .c ` file is compiled by LLVM, to produce an object file
113+ Each of the ` .c ` files is compiled by LLVM, to produce an object file
114114that contains a function that executes the opcode. These compiled
115115functions are used to generate the file
116116[ ` jit_stencils.h ` ] ( ../jit_stencils.h ) , which contains the functions
0 commit comments