Skip to content

Fix fastalloc edge case with nonallocated scratch register#229

Merged
cfallin merged 2 commits into
bytecodealliance:mainfrom
squaaawk:main
Jun 22, 2025
Merged

Fix fastalloc edge case with nonallocated scratch register#229
cfallin merged 2 commits into
bytecodealliance:mainfrom
squaaawk:main

Conversation

@squaaawk

Copy link
Copy Markdown
Contributor

Resolves the existing fuzzbugs I've found running the fuzzer. I've also de-duplicated some code related to scratch register allocation, which is a nice simplification.

I don't have access to the fuzzbug in #217, so I can't check if this PR resolves that issue as well.

@cfallin cfallin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks reasonable -- thanks!

@cfallin cfallin merged commit 4c2a954 into bytecodealliance:main Jun 22, 2025
6 checks passed
@cfallin

cfallin commented Jun 22, 2025

Copy link
Copy Markdown
Member

(I'm traveling at the moment but when I'm back to my normal setup, I'll check whether this now works with the new call retval handling.)

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