mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
gh-133279: Assert with HAS_TARGET in the codegen_addop_j function (#133280)
This commit is contained in:
parent
2590774c9b
commit
20f8ed595d
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ codegen_addop_j(instr_sequence *seq, location loc,
|
|||
int opcode, jump_target_label target)
|
||||
{
|
||||
assert(IS_JUMP_TARGET_LABEL(target));
|
||||
assert(OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode));
|
||||
assert(HAS_TARGET(opcode));
|
||||
assert(!IS_ASSEMBLER_OPCODE(opcode));
|
||||
return _PyInstructionSequence_Addop(seq, opcode, target.id, loc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue