mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
gh-105481: add HAS_JUMP flag to opcode metadata (#105791)
This commit is contained in:
parent
5ab13c5f97
commit
d1b0297d3e
8 changed files with 189 additions and 168 deletions
|
@ -45,7 +45,8 @@ is_block_push(cfg_instr *i)
|
|||
static inline int
|
||||
is_jump(cfg_instr *i)
|
||||
{
|
||||
return IS_JUMP_OPCODE(i->i_opcode);
|
||||
assert(!OPCODE_HAS_JUMP(i->i_opcode) == !IS_JUMP_OPCODE(i->i_opcode));
|
||||
return OPCODE_HAS_JUMP(i->i_opcode);
|
||||
}
|
||||
|
||||
/* One arg*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue