Skip to content

Conversation

@corona10
Copy link
Member

@corona10corona10 commented Jun 25, 2025

@corona10corona10 changed the title gh-134584: Eliminate redundant refcounting from STORE_SUBSCR_LIST_INTgh-134584: Eliminate redundant refcounting from _STORE_SUBSCR_LIST_INTJun 25, 2025
Copy link
Member

@Fidget-SpinnerFidget-Spinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just 2 comments.

PyStackRef_CLOSE_SPECIALIZED(sub_st, _PyLong_ExactDealloc);
DEAD(sub_st);
ss = sub_st;
PyStackRef_CLOSE(list_st);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go on the stack too, and become a normal POP_TOP.

value = PyJitRef_Borrow(sym_new_const(ctx, ptr));
}

op(_POP_TOP_INT, (value -- )){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this below _POP_TOP. Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@corona10@Fidget-Spinner