Skip to content
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

Fix a safepoints bug involving block parameters and cursor positions #9000

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Jul 23, 2024

We weren't setting the cursor position correctly after inserting spills for block parameters that need inclusion in stack maps, which caused us to accidentally skip over the first instruction in the block sometimes.

Also move some tests around and add logging for the rewriting phase of user stack maps (see each separate commit).

We weren't setting the cursor position correctly after inserting spills for
block parameters that need inclusion in stack maps, which caused us to
accidentally skip over the first instruction in the block sometimes.
@fitzgen fitzgen requested a review from elliottt July 23, 2024 19:12
@fitzgen fitzgen requested a review from a team as a code owner July 23, 2024 19:12
@fitzgen
Copy link
Member Author

fitzgen commented Jul 23, 2024

heyyy #9000!!

Copy link
Member

@elliottt elliottt left a comment

Choose a reason for hiding this comment

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

Makes sense to me!

@fitzgen fitzgen added this pull request to the merge queue Jul 23, 2024
Merged via the queue into bytecodealliance:main with commit 0549bad Jul 23, 2024
37 checks passed
@fitzgen fitzgen deleted the fix-safepoints-bug-with-cursors-and-block-params branch July 23, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants