]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-136567: Add information about lost prefixes to `Tools/cases_generator/interpreter_...
authorKliment Lamonov <klimentlamonov@yandex.ru>
Sun, 3 Aug 2025 18:43:13 +0000 (21:43 +0300)
committerGitHub <noreply@github.com>
Sun, 3 Aug 2025 18:43:13 +0000 (21:43 +0300)
Tools/cases_generator/interpreter_definition.md

index 72020133738fa515d3b72c5132374fb31e7e1525..29e4e74da721547b1211f4160b4c597c87803d80 100644 (file)
@@ -174,7 +174,13 @@ list of annotations and their meanings are as follows:
 * `override`. For external use by other interpreter definitions to override the current
    instruction definition.
 * `pure`. This instruction has no side effects.
-* 'tierN'. This instruction is only used by the tier N interpreter.
+* `tierN`. This instruction is only used by the tier N interpreter.
+* `specializing`. A prefix for an instructions related to adaptive interpreter.
+* `replaced`. This instruction will be replaced in the final bytecode by its directed
+   version (either forward or backward).
+* `register`. Currently does nothing.
+* `replicate(N)`. Replicate the instruction N times to store the oparg "inside" the instruction.
+* `no_save_ip`. This instruction does not affect the instruction pointer.
 
 ### Special functions/macros