From b22865357519be9d47135c8df5e600958d9007de Mon Sep 17 00:00:00 2001 From: nybblista <170842536+nybblista@users.noreply.github.com> Date: Fri, 2 May 2025 04:36:47 +0300 Subject: [PATCH] Use HAS_TARGET macro in codegen_addop_j function --- Python/codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/codegen.c b/Python/codegen.c index c7662538408f5d..683601103ec99d 100644 --- a/Python/codegen.c +++ b/Python/codegen.c @@ -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); }