summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2025-01-23 09:26:25 (GMT)
committerGitHub <noreply@github.com>2025-01-23 09:26:25 (GMT)
commita10f99375e7912df863cf101a38e9703cfcd72f1 (patch)
tree7909c7896fe256427c1149d2416fb7912ad3ba48 /Lib/opcode.py
parentd7d066c3ab6842117f9e0fb1c9dde4bce00fa1e3 (diff)
downloadcpython-a10f99375e7912df863cf101a38e9703cfcd72f1.zip
cpython-a10f99375e7912df863cf101a38e9703cfcd72f1.tar.gz
cpython-a10f99375e7912df863cf101a38e9703cfcd72f1.tar.bz2
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 ab61d3f4303d14a413bc9ae6557c730ffdf7579e.
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index d87149e..4ee0d64 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -72,21 +72,12 @@ _cache_format = {
"LOAD_SUPER_ATTR": {
"counter": 1,
},
- "LOAD_SUPER_METHOD": {
- "counter": 1,
- },
"LOAD_ATTR": {
"counter": 1,
"version": 2,
"keys_version": 2,
"descr": 4,
},
- "LOAD_METHOD": {
- "counter": 1,
- "version": 2,
- "keys_version": 2,
- "descr": 4,
- },
"STORE_ATTR": {
"counter": 1,
"version": 2,