mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
GH-100982: Add COMPARE_AND_BRANCH
instruction (GH-100983)
This commit is contained in:
parent
b1a74a182d
commit
7b14c2ef19
17 changed files with 273 additions and 245 deletions
|
@ -1195,6 +1195,9 @@ stack_effect(int opcode, int oparg, int jump)
|
|||
case POP_JUMP_IF_TRUE:
|
||||
return -1;
|
||||
|
||||
case COMPARE_AND_BRANCH:
|
||||
return -2;
|
||||
|
||||
case LOAD_GLOBAL:
|
||||
return (oparg & 1) + 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue