Revert "GH-128914: Remove conditional stack effects from bytecodes.c and the code generators (GH-128918)" (GH-129202)
The commit introduced a ~2.5-3% regression in the free threading build.
This reverts commit ab61d3f430.
This commit is contained in:
@@ -284,7 +284,7 @@ class OpcodeStats:
|
||||
def kind_to_text(kind: int, opcode: str):
|
||||
if kind <= 8:
|
||||
return pretty(self._defines[kind][0])
|
||||
if opcode == "LOAD_SUPER_ATTR" or opcode == "LOAD_SUPER_METHOD":
|
||||
if opcode == "LOAD_SUPER_ATTR":
|
||||
opcode = "SUPER"
|
||||
elif opcode.endswith("ATTR"):
|
||||
opcode = "ATTR"
|
||||
|
||||
Reference in New Issue
Block a user