Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-105481: combine regen-opcode-targets with regen-opcode to avoid calculating the specialized opcodes in two places #107540

Merged
merged 3 commits into from Aug 1, 2023

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Aug 1, 2023

Python/makeopcodetargets.py (which is invoked by make regen-opcode-targets) can be replaced by a few lines added to Tools\build\generate_opcode_h.py, because most of its work is repeated there. This removes a make target and reduces code duplication.

…oid calculating the specialized opcodes in two places
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@iritkatriel iritkatriel merged commit 2bd04d4 into python:main Aug 1, 2023
24 checks passed
@iritkatriel iritkatriel deleted the opcode_targets1 branch November 13, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants