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-98831: Auto-generate PREDICTED() macro calls #99102

Merged
merged 2 commits into from
Nov 4, 2022

Conversation

gvanrossum
Copy link
Member

@gvanrossum gvanrossum commented Nov 4, 2022

This allows us to remove all PREDICTED() calls from bytecodes.c. The generated_cases.c.h file is unchanged.

This allows us to remove all PREDICTED() calls from bytecodes.c.
The generated_cases.c.h file is unchanged.
Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

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

Awesome!

This is exactly the sort of clean improvement I was hoping we could get out of this project... excited for more.

Tools/cases_generator/generate_cases.py Outdated Show resolved Hide resolved
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
@gvanrossum gvanrossum merged commit c885623 into python:main Nov 4, 2022
@gvanrossum gvanrossum deleted the rm-predicted branch November 4, 2022 22:31
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