Skip to content

remove internal calls to pp_pushmark() #22999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

mauke
Copy link
Contributor

@mauke mauke commented Feb 14, 2025

Perl_pp_pushmark is a fairly simple function that does two things:

  1. PUSHMARK(PL_stack_sp);
  2. It returns PL_op->op_next.

All internal uses ignore the return value and can just use PUSHMARK directly, without going through a pp_* function.


  • This set of changes does not require a perldelta entry.

Perl_pp_pushmark is a fairly simple function that does two things:
1. PUSHMARK(PL_stack_sp);
2. It returns PL_op->op_next.

All internal uses ignore the return value and can just use PUSHMARK
directly, without going through a pp_* function.
Copy link
Contributor

@leonerd leonerd left a comment

Choose a reason for hiding this comment

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

LGTM

@mauke mauke merged commit edd7635 into Perl:blead Feb 14, 2025
@mauke mauke deleted the remove-pp_pushmark-calls branch February 14, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants