Skip to content

GH-108614: Remove non-debug uses of #if TIER_ONE and #if TIER_TWO from _POP_FRAME op. #108685

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 5 commits into from
Aug 31, 2023

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Aug 30, 2023

@markshannon
Copy link
Member Author

I don't think this is newsworthy

@markshannon markshannon requested a review from gvanrossum August 30, 2023 14:29
@gvanrossum
Copy link
Member

Please give me some time to review this.

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

I'm guessing STORE_IP() is meant to be used by _PUSH_FRAME and you're leaving that for a follow-up PR?

Comment on lines 384 to 385
#define STORE_IP() \
do {frame->prev_instr = next_instr-1; } while (0)
Copy link
Member

Choose a reason for hiding this comment

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

I cannot find any place that uses STORE_IP()?

Copy link
Member Author

Choose a reason for hiding this comment

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

I added all four, then used them where necessary.
I'll remove STORE_IP for now, but we will need it for YIELD_VALUE.

@markshannon markshannon merged commit 059bd4d into python:main Aug 31, 2023
@markshannon markshannon deleted the remove-tiers-pop-frame branch September 5, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants