Skip to content

GH-109214: Convert _SAVE_CURRENT_IP to _SET_IP in tier 2 trace creation. #110755

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
Oct 12, 2023

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Oct 12, 2023

Translate _SAVE_CURRENT_IP to _SET_IP when creating the tier 2 trace.
A bit more efficient, but mainly tidier.

Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

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

Yup.

@markshannon markshannon merged commit 19b7ead into python:main Oct 12, 2023
@markshannon markshannon deleted the set-ip-directly branch October 12, 2023 09:36
vstinner pushed a commit to vstinner/cpython that referenced this pull request Oct 12, 2023
@brandtbucher
Copy link
Member

Hm, did we ever try actually running this? I'm seeing assertion errors on builds with uops turned on that bisect to this commit:

$ ./python -X uops
python: ./Include/cpython/cellobject.h:26: PyCell_GET: Assertion `PyCell_Check(op)' failed.
Aborted

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.

2 participants