summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-01-20 17:09:23 (GMT)
committerGitHub <noreply@github.com>2025-01-20 17:09:23 (GMT)
commitab61d3f4303d14a413bc9ae6557c730ffdf7579e (patch)
treeec35e41ce467f4cb281208970cf453a680d82aed /Lib/opcode.py
parent0a6412f9cc9e694e76299cfbd73ec969b7d47af6 (diff)
downloadcpython-ab61d3f4303d14a413bc9ae6557c730ffdf7579e.zip
cpython-ab61d3f4303d14a413bc9ae6557c730ffdf7579e.tar.gz
cpython-ab61d3f4303d14a413bc9ae6557c730ffdf7579e.tar.bz2
GH-128914: Remove conditional stack effects from `bytecodes.c` and the code generators (GH-128918)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 4ee0d64..d87149e 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -72,12 +72,21 @@ _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,