mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.14] gh-138081: fix some dead links in InternalDocs (GH-138082) (#138781)
Co-authored-by: yihong <zouzou0208@gmail.com>
This commit is contained in:
parent
09b7e87646
commit
8a767fbcb3
3 changed files with 3 additions and 3 deletions
|
|
@ -604,4 +604,4 @@
|
||||||
pp. 213--227, 1997.
|
pp. 213--227, 1997.
|
||||||
|
|
||||||
[^2]: The Zephyr Abstract Syntax Description Language.:
|
[^2]: The Zephyr Abstract Syntax Description Language.:
|
||||||
https://www.cs.princeton.edu/research/techreps/TR-554-97
|
https://www.cs.princeton.edu/research/techreps/254
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
The [`FOR_ITER`](https://docs.python.org/dev/library/dis.html#opcode-FOR_ITER)
|
The [`FOR_ITER`](https://docs.python.org/dev/library/dis.html#opcode-FOR_ITER)
|
||||||
instruction calls `__next__` on the iterator which is on the top of the stack,
|
instruction calls `__next__` on the iterator which is on the top of the stack,
|
||||||
and pushes the result to the stack. It has [`specializations`](adaptive.md)
|
and pushes the result to the stack. It has [`specializations`](interpreter.md)
|
||||||
for a few common iterator types, including `FOR_ITER_GEN`, for iterating over
|
for a few common iterator types, including `FOR_ITER_GEN`, for iterating over
|
||||||
a generator. `FOR_ITER_GEN` bypasses the call to `__next__`, and instead
|
a generator. `FOR_ITER_GEN` bypasses the call to `__next__`, and instead
|
||||||
directly pushes the generator stack and resumes its execution from the
|
directly pushes the generator stack and resumes its execution from the
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ ## The JIT
|
||||||
[`--enable-experimental-jit`](https://docs.python.org/dev/using/configure.html#cmdoption-enable-experimental-jit),
|
[`--enable-experimental-jit`](https://docs.python.org/dev/using/configure.html#cmdoption-enable-experimental-jit),
|
||||||
the uop executor's `jit_code` field is populated with a pointer to a compiled
|
the uop executor's `jit_code` field is populated with a pointer to a compiled
|
||||||
C function that implements the executor logic. This function's signature is
|
C function that implements the executor logic. This function's signature is
|
||||||
defined by `jit_func` in [`pycore_jit.h`](Include/internal/pycore_jit.h).
|
defined by `jit_func` in [`pycore_jit.h`](../Include/internal/pycore_jit.h).
|
||||||
When the executor is invoked by `ENTER_EXECUTOR`, instead of jumping to
|
When the executor is invoked by `ENTER_EXECUTOR`, instead of jumping to
|
||||||
the uop interpreter at `tier2_dispatch`, the executor runs the function
|
the uop interpreter at `tier2_dispatch`, the executor runs the function
|
||||||
that `jit_code` points to. This function returns the instruction pointer
|
that `jit_code` points to. This function returns the instruction pointer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue