◐ Shell
clean mode source ↗

GH-98831: Support cache effects in super- and macro instructions by gvanrossum · Pull Request #99601 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

This once again refactors a lot of the code generator.
There are still cleanups to be done, and I'd like things to be
more compact, but I think most of the refactoring is now done.
sup: SuperInstruction
mac: MacroInstruction
super: Super
macro: Macro
I tried to split it into InstDef and OpDef, removing kind,
but that caused problems because the Instruction class
inherits from InstHeader.

gvanrossum

brandtbucher

Comment on lines 235 to +237

Comment on lines +247 to +252

Comment on lines +17 to +22

Labels