summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2023-05-16 16:29:00 (GMT)
committerGitHub <noreply@github.com>2023-05-16 16:29:00 (GMT)
commitf40890b124a330b589c8093127be1274e15dbd7f (patch)
treea6a68ed80a4103ff60b33375c17e4fa1dc40bc6d /Lib/opcode.py
parentfebcc6ccfb0726dab588e64b68d91abb37db1939 (diff)
downloadcpython-f40890b124a330b589c8093127be1274e15dbd7f.zip
cpython-f40890b124a330b589c8093127be1274e15dbd7f.tar.gz
cpython-f40890b124a330b589c8093127be1274e15dbd7f.tar.bz2
gh-103865: add monitoring support to LOAD_SUPER_ATTR (#103866)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 97d0a65..6bb2f1c 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -233,8 +233,9 @@ def_op('LOAD_FROM_DICT_OR_DEREF', 176)
hasfree.append(176)
# Instrumented instructions
-MIN_INSTRUMENTED_OPCODE = 238
+MIN_INSTRUMENTED_OPCODE = 237
+def_op('INSTRUMENTED_LOAD_SUPER_ATTR', 237)
def_op('INSTRUMENTED_POP_JUMP_IF_NONE', 238)
def_op('INSTRUMENTED_POP_JUMP_IF_NOT_NONE', 239)
def_op('INSTRUMENTED_RESUME', 240)