Skip to content

bpo-45388: Normalize jumps in compiler.#28755

Merged
markshannon merged 1 commit intopython:mainfrom
faster-cpython:all-jump-absolutes-backwards
Oct 6, 2021
Merged

bpo-45388: Normalize jumps in compiler.#28755
markshannon merged 1 commit intopython:mainfrom
faster-cpython:all-jump-absolutes-backwards

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Oct 6, 2021

Makes sure that all forward jumps use JUMP_FORWARD, not JUMP_ABSOLUTE.

All backwards jumps already use JUMP_ABSOLUTE as it is impossible for JUMP_FORWARD to jump backwards.

https://bugs.python.org/issue45388

@markshannon markshannon merged commit f6eafe1 into python:main Oct 6, 2021
@markshannon markshannon deleted the all-jump-absolutes-backwards branch January 6, 2022 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants