Skip to content

Commit 2564d41

Browse files
committed
Properly fix assert
1 parent 47b53d1 commit 2564d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ sanity_check(_PyExecutorObject *executor)
11301130
}
11311131
bool ended = false;
11321132
uint32_t i = 0;
1133-
CHECK(executor->trace[0].opcode == _START_EXECUTOR || trace[0].opcode == _COLD_EXIT);
1133+
CHECK(executor->trace[0].opcode == _START_EXECUTOR || executor->trace[0].opcode == _COLD_EXIT);
11341134
for (; i < executor->code_size; i++) {
11351135
const _PyUOpInstruction *inst = &executor->trace[i];
11361136
uint16_t opcode = inst->opcode;

0 commit comments

Comments
 (0)