summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2020-10-22 02:06:07 (GMT)
committerGitHub <noreply@github.com>2020-10-22 02:06:07 (GMT)
commit07a44d9572c7746568a7fe2fbcd42127fd6d4019 (patch)
tree569c8e7bf07ae81d0e4faf4b5cce99e059334333 /Python
parentc3538b83816663d7b767391a375179a0ce923990 (diff)
downloadcpython-07a44d9572c7746568a7fe2fbcd42127fd6d4019.zip
cpython-07a44d9572c7746568a7fe2fbcd42127fd6d4019.tar.gz
cpython-07a44d9572c7746568a7fe2fbcd42127fd6d4019.tar.bz2
bpo-42057: Fix peephole optimizer (GH-22802)
Diffstat (limited to 'Python')
-rw-r--r--Python/peephole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/peephole.c b/Python/peephole.c
index 84de1ab..6954c87 100644
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -12,7 +12,7 @@
#define UNCONDITIONAL_JUMP(op) (op==JUMP_ABSOLUTE || op==JUMP_FORWARD)
#define CONDITIONAL_JUMP(op) (op==POP_JUMP_IF_FALSE || op==POP_JUMP_IF_TRUE \
- || op==JUMP_IF_FALSE_OR_POP || op==JUMP_IF_TRUE_OR_POP || op==JUMP_IF_NOT_EXC_MATCH)
+ || op==JUMP_IF_FALSE_OR_POP || op==JUMP_IF_TRUE_OR_POP)
#define ABSOLUTE_JUMP(op) (op==JUMP_ABSOLUTE \
|| op==POP_JUMP_IF_FALSE || op==POP_JUMP_IF_TRUE \
|| op==JUMP_IF_FALSE_OR_POP || op==JUMP_IF_TRUE_OR_POP || op==JUMP_IF_NOT_EXC_MATCH)