Skip to content

Commit 259d5db

Browse files
committed
Remove unused arg
1 parent 483ac7a commit 259d5db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Python/flowgraph.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,7 @@ ref_stack_fini(ref_stack *stack)
25062506
}
25072507

25082508
static void
2509-
kill_local(bool *has_killed_refs, Py_ssize_t size, ref_stack *refs, int local)
2509+
kill_local(bool *has_killed_refs, ref_stack *refs, int local)
25102510
{
25112511
for (Py_ssize_t i = 0; i < refs->size; i++) {
25122512
ref r = ref_stack_at(refs, i);
@@ -2613,14 +2613,14 @@ optimize_load_fast(cfg_builder *g)
26132613
}
26142614

26152615
case STORE_FAST: {
2616-
kill_local(has_killed_refs, block->b_iused, &refs, oparg);
2616+
kill_local(has_killed_refs, &refs, oparg);
26172617
ref_stack_pop(&refs);
26182618
break;
26192619
}
26202620

26212621
case STORE_FAST_STORE_FAST: {
2622-
kill_local(has_killed_refs, block->b_iused, &refs, oparg >> 4);
2623-
kill_local(has_killed_refs, block->b_iused, &refs, oparg & 15);
2622+
kill_local(has_killed_refs, &refs, oparg >> 4);
2623+
kill_local(has_killed_refs, &refs, oparg & 15);
26242624
ref_stack_pop(&refs);
26252625
ref_stack_pop(&refs);
26262626
break;

0 commit comments

Comments
 (0)