mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231)
This commit is contained in:
parent
ae9de82e32
commit
04e07c258f
11 changed files with 107 additions and 111 deletions
|
@ -207,7 +207,6 @@ mark_stacks(PyCodeObject *code_obj, int len)
|
|||
case JUMP_IF_TRUE_OR_POP:
|
||||
case POP_JUMP_IF_FALSE:
|
||||
case POP_JUMP_IF_TRUE:
|
||||
case JUMP_IF_NOT_EXC_MATCH:
|
||||
case JUMP_IF_NOT_EG_MATCH:
|
||||
{
|
||||
int64_t target_stack;
|
||||
|
@ -216,8 +215,7 @@ mark_stacks(PyCodeObject *code_obj, int len)
|
|||
if (stacks[j] == UNINITIALIZED && j < i) {
|
||||
todo = 1;
|
||||
}
|
||||
if (opcode == JUMP_IF_NOT_EXC_MATCH ||
|
||||
opcode == JUMP_IF_NOT_EG_MATCH)
|
||||
if (opcode == JUMP_IF_NOT_EG_MATCH)
|
||||
{
|
||||
next_stack = pop_value(pop_value(next_stack));
|
||||
target_stack = next_stack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue