Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

GH-120024: Refactor code generators to uses classes for emitting code.#122730

Merged
markshannon merged 1 commit into
python:mainpython/cpython:mainfrom
faster-cpython:refactor_code_generatorfaster-cpython/cpython:refactor_code_generatorCopy head branch name to clipboard
Aug 6, 2024
Merged

GH-120024: Refactor code generators to uses classes for emitting code.#122730
markshannon merged 1 commit into
python:mainpython/cpython:mainfrom
faster-cpython:refactor_code_generatorfaster-cpython/cpython:refactor_code_generatorCopy head branch name to clipboard

Conversation

@markshannon

@markshannon markshannon commented Aug 6, 2024

Copy link
Copy Markdown
Member

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
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.