Skip to content

Change ADD_OP(_POP_TOP, ...) to optimize_pop_top in optimizer_bytecodes.c #148604

@Fidget-Spinner

Description

@Fidget-Spinner

Feature or enhancement

Proposal:

See for example the following code:
https://github.com/python/cpython/blob/main/Python/optimizer_bytecodes.c#L863

Should replace this:
https://github.com/python/cpython/blob/main/Python/optimizer_bytecodes.c#L1905

We should be careful to pass in the correct argument.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions