summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-04-01 12:59:38 (GMT)
committerGitHub <noreply@github.com>2022-04-01 12:59:38 (GMT)
commit04e07c258f4f2ac85e25355242a113f98a706f04 (patch)
tree166df77e0d1e0bbaf6c4fcd8b1f3584010cf6c26 /Lib/opcode.py
parentae9de82e321581e1906c6ef2a7ad83ab30ae3325 (diff)
downloadcpython-04e07c258f4f2ac85e25355242a113f98a706f04.zip
cpython-04e07c258f4f2ac85e25355242a113f98a706f04.tar.gz
cpython-04e07c258f4f2ac85e25355242a113f98a706f04.tar.bz2
bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 6bc6417..e993a5c 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -76,6 +76,7 @@ def_op('MATCH_SEQUENCE', 32)
def_op('MATCH_KEYS', 33)
def_op('PUSH_EXC_INFO', 35)
+def_op('CHECK_EXC_MATCH', 36)
def_op('WITH_EXCEPT_START', 49)
def_op('GET_AITER', 50)
@@ -138,7 +139,6 @@ def_op('IS_OP', 117)
def_op('CONTAINS_OP', 118)
def_op('RERAISE', 119)
def_op('COPY', 120)
-jabs_op('JUMP_IF_NOT_EXC_MATCH', 121)
def_op('BINARY_OP', 122, 1)
jrel_op('SEND', 123) # Number of bytes to skip
def_op('LOAD_FAST', 124) # Local variable number