mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
GH-100982: Break up COMPARE_AND_BRANCH (GH-102801)
This commit is contained in:
parent
bd063756b3
commit
0444ae2487
18 changed files with 377 additions and 479 deletions
|
|
@ -347,14 +347,6 @@ mark_stacks(PyCodeObject *code_obj, int len)
|
|||
assert(stacks[j] == UNINITIALIZED || stacks[j] == next_stack);
|
||||
stacks[j] = next_stack;
|
||||
break;
|
||||
case COMPARE_AND_BRANCH:
|
||||
next_stack = pop_value(pop_value(next_stack));
|
||||
i++;
|
||||
j = get_arg(code, i) + i + 1;
|
||||
assert(j < len);
|
||||
assert(stacks[j] == UNINITIALIZED || stacks[j] == next_stack);
|
||||
stacks[j] = next_stack;
|
||||
break;
|
||||
case GET_ITER:
|
||||
case GET_AITER:
|
||||
next_stack = push_value(pop_value(next_stack), Iterator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue