mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
gh-102859: Remove JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP (#102870)
This commit is contained in:
parent
04adf2df39
commit
3468c768ce
15 changed files with 235 additions and 437 deletions
|
@ -435,6 +435,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Python 3.12a6 3519 (Modify SEND instruction)
|
||||
# Python 3.12a6 3520 (Remove PREP_RERAISE_STAR, add CALL_INTRINSIC_2)
|
||||
# Python 3.12a7 3521 (Shrink the LOAD_GLOBAL caches)
|
||||
# Python 3.12a7 3522 (Removed JUMP_IF_FALSE_OR_POP/JUMP_IF_TRUE_OR_POP)
|
||||
|
||||
# Python 3.13 will start with 3550
|
||||
|
||||
|
@ -451,7 +452,7 @@ _code_type = type(_write_atomic.__code__)
|
|||
# Whenever MAGIC_NUMBER is changed, the ranges in the magic_values array
|
||||
# in PC/launcher.c must also be updated.
|
||||
|
||||
MAGIC_NUMBER = (3521).to_bytes(2, 'little') + b'\r\n'
|
||||
MAGIC_NUMBER = (3522).to_bytes(2, 'little') + b'\r\n'
|
||||
|
||||
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue