summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-04-05 11:06:22 (GMT)
committerGitHub <noreply@github.com>2022-04-05 11:06:22 (GMT)
commit32091df41ce6e3a71df2cf37dc74b728c0d885f2 (patch)
tree0504c15f15a9ba83d08e480cc33a801cc648681d /Lib/opcode.py
parent6c6e0408a663c1f53dad403f54a18d444da39cb7 (diff)
downloadcpython-32091df41ce6e3a71df2cf37dc74b728c0d885f2.zip
cpython-32091df41ce6e3a71df2cf37dc74b728c0d885f2.tar.gz
cpython-32091df41ce6e3a71df2cf37dc74b728c0d885f2.tar.bz2
bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309)
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 e993a5c..23d98df 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -77,6 +77,7 @@ def_op('MATCH_KEYS', 33)
def_op('PUSH_EXC_INFO', 35)
def_op('CHECK_EXC_MATCH', 36)
+def_op('CHECK_EG_MATCH', 37)
def_op('WITH_EXCEPT_START', 49)
def_op('GET_AITER', 50)
@@ -147,7 +148,6 @@ def_op('STORE_FAST', 125) # Local variable number
haslocal.append(125)
def_op('DELETE_FAST', 126) # Local variable number
haslocal.append(126)
-jabs_op('JUMP_IF_NOT_EG_MATCH', 127)
jabs_op('POP_JUMP_IF_NOT_NONE', 128)
jabs_op('POP_JUMP_IF_NONE', 129)
def_op('RAISE_VARARGS', 130) # Number of raise arguments (1, 2, or 3)