Skip to content

Commit bf29c13

Browse files
committed
fix escape check
1 parent 90e4800 commit bf29c13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/optimizer_analysis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ optimize_uops(
510510
*(ctx->out_buffer.next++) = *this_instr;
511511
}
512512
// Track escapes
513-
if (_PyUop_Flags[opcode] & HAS_ESCAPES_FLAG) {
513+
if (_PyUop_Flags[out_ptr->opcode] & HAS_ESCAPES_FLAG) {
514514
ctx->last_escape_index = uop_buffer_length(&ctx->out_buffer);
515515
}
516516
assert(ctx->frame != NULL);

0 commit comments

Comments
 (0)