File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
Misc/NEWS.d/next/Core and Builtins Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,8 @@ the following command can be used to display the disassembly of
4545 2 2 PUSH_NULL
4646 4 LOAD_GLOBAL 1 (NULL + len)
4747 6 LOAD_FAST 0 (alist)
48- 8 PRECALL 1
49- 10 CALL 1
50- 12 RETURN_VALUE
48+ 8 CALL 1
49+ 18 RETURN_VALUE
5150
5251(The "2" is a line number).
5352
@@ -119,7 +118,6 @@ Example::
119118 PUSH_NULL
120119 LOAD_GLOBAL
121120 LOAD_FAST
122- PRECALL
123121 CALL
124122 RETURN_VALUE
125123
@@ -1182,15 +1180,6 @@ iterations of the loop.
11821180 .. versionadded :: 3.7
11831181
11841182
1185- .. opcode :: PRECALL (argc)
1186-
1187- Prefixes :opcode: `CALL `. Logically this is a no op.
1188- It exists to enable effective specialization of calls.
1189- ``argc `` is the number of arguments as described in :opcode: `CALL `.
1190-
1191- .. versionadded :: 3.11
1192-
1193-
11941183.. opcode :: PUSH_NULL
11951184
11961185 Pushes a ``NULL `` to the stack.
@@ -1202,7 +1191,7 @@ iterations of the loop.
12021191
12031192.. opcode :: KW_NAMES (i)
12041193
1205- Prefixes :opcode: `PRECALL `.
1194+ Prefixes :opcode: `CALL `.
12061195 Stores a reference to ``co_consts[consti] `` into an internal variable
12071196 for use by :opcode: `CALL `. ``co_consts[consti] `` must be a tuple of strings.
12081197
Original file line number Diff line number Diff line change 1+ The PRECALL instruction has been removed. It offered only a small advantage
2+ for specialization and is not needed in the vast majority of cases.
You can’t perform that action at this time.
0 commit comments