-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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
GH-108614: Remove non-debug uses of #if TIER_ONE
and #if TIER_TWO
from _POP_FRAME
op.
#108685
Conversation
I don't think this is newsworthy |
Please give me some time to review this. |
There was a problem hiding this 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?
Python/ceval_macros.h
Outdated
#define STORE_IP() \ | ||
do {frame->prev_instr = next_instr-1; } while (0) |
There was a problem hiding this comment.
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()?
There was a problem hiding this comment.
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
.
TIER_ONE
andTIER_TWO
from bytecodes.c #108614