Skip to content

Commit aced06a

Browse files
Apply suggestions from code review
Co-authored-by: Mark Shannon <[email protected]>
1 parent c4b288b commit aced06a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

InternalDocs/jit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The optimizer that `_PyOptimizer_Optimize()` runs is configurable via the
4242
`_Py_SetTier2Optimizer()` function (this is used in test via
4343
`_testinternalcapi.set_optimizer()`.)
4444

45-
The micro-op optimizer (abbreviated `uop` to approximate `μop`) is defined in
45+
The micro-op (abbreviated `uop` to approximate `μop`) optimizer is defined in
4646
[`Python/optimizer.c`](../Python/optimizer.c) as the type `_PyUOpOptimizer_Type`.
4747
It translates an instruction trace into a sequence of micro-ops by replacing
4848
each bytecode by an equivalent sequence of micro-ops (see
@@ -52,9 +52,9 @@ which is generated from [`Python/bytecodes.c`](../Python/bytecodes.c)).
5252
The micro-op sequence is then optimized by
5353
`_Py_uop_analyze_and_optimize` in
5454
[`Python/optimizer_analysis.c`](../Python/optimizer_analysis.c)
55-
and a `_PyUOpExecutor_Type` is created to contain it.
55+
and an instance of `_PyUOpExecutor_Type` is created to contain it.
5656

57-
## Debugging a uop executor in the JIT interpreter
57+
## The JIT interpreter
5858

5959
After a `JUMP_BACKWARD` instruction invokes the uop optimizer to create a uop
6060
executor, it transfers control to this executor via the `GOTO_TIER_TWO` macro.

0 commit comments

Comments
 (0)