KEMBAR78
GH-109214: Convert _SAVE_CURRENT_IP to _SET_IP in tier 2 trace creation. by markshannon · Pull Request #110755 · python/cpython · GitHub
Skip to content

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