Skip to content

Commit 101955f

Browse files
committed
Naming
1 parent f483964 commit 101955f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Python/optimizer_analysis.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ const uint16_t op_without_pop[MAX_UOP_ID] = {
530530
[_POP_TWO_LOAD_CONST_INLINE_BORROW] = _POP_TOP_LOAD_CONST_INLINE_BORROW,
531531
};
532532

533-
const uint16_t remove_push[MAX_UOP_ID] = {
533+
const uint16_t op_without_push[MAX_UOP_ID] = {
534534
[_COPY] = _NOP,
535535
[_LOAD_CONST_INLINE] = _NOP,
536536
[_LOAD_CONST_INLINE_BORROW] = _NOP,
@@ -581,10 +581,10 @@ remove_unneeded_uops(_PyUOpInstruction *buffer, int buffer_size)
581581
while (last->opcode == _NOP) {
582582
last--;
583583
}
584-
if (!remove_push[last->opcode]) {
584+
if (!op_without_push[last->opcode]) {
585585
break;
586586
}
587-
last->opcode = remove_push[last->opcode];
587+
last->opcode = op_without_push[last->opcode];
588588
opcode = buffer[pc].opcode = op_without_pop[opcode];
589589
}
590590
/* _PUSH_FRAME doesn't escape or error, but it

0 commit comments

Comments
 (0)