Skip to content

Commit 1195254

Browse files
committed
Add CHECK_PERIODIC instruction and use it for CALLs instead of the uop version.
1 parent 1b49c8c commit 1195254

File tree

11 files changed

+1022
-1252
lines changed

11 files changed

+1022
-1252
lines changed

Include/internal/pycore_magic_number.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ Known values:
275275
Python 3.14a6 3620 (Optimize bytecode for all/any/tuple called on a genexp)
276276
Python 3.14a7 3621 (Optimize LOAD_FAST opcodes into LOAD_FAST_BORROW)
277277
Python 3.14a7 3622 (Store annotations in different class dict keys)
278+
Python 3.14a7 3623 (Add CHECK_PERIODIC instruction)
278279
279280
Python 3.15 will start with 3650
280281
@@ -287,7 +288,7 @@ PC/launcher.c must also be updated.
287288
288289
*/
289290

290-
#define PYC_MAGIC_NUMBER 3622
291+
#define PYC_MAGIC_NUMBER 3623
291292
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
292293
(little-endian) and then appending b'\r\n'. */
293294
#define PYC_MAGIC_NUMBER_TOKEN \

Include/internal/pycore_opcode_metadata.h

Lines changed: 36 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)