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-120024: Refactor code generators to uses classes for emitting code. #122730

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Aug 6, 2024

Refactor the replacement functions and lookup tables into classes.
This is necessary to support future mixins for the emitter classes to support different RC deferral schemes.
The first such scheme will be to fix #118926

This is strictly a refactoring. It adds no new functionality and the output of the code generators is unchanged.

@markshannon markshannon merged commit fbfab4f into python:main Aug 6, 2024
44 checks passed
@markshannon markshannon deleted the refactor_code_generator branch August 6, 2024 12:04
brandtbucher pushed a commit to brandtbucher/cpython that referenced this pull request Aug 7, 2024
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
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.

GC may have inconsistent view of stacktop with deferred references
2 participants