Skip to content

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

Merged
markshannon merged 1 commit intopython:mainfrom
faster-cpython:refactor_code_generator
Aug 6, 2024
Merged

GH-120024: Refactor code generators to uses classes for emitting code.#122730
markshannon merged 1 commit intopython:mainfrom
faster-cpython:refactor_code_generator

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