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

cranelift: Support calling functions with vmctx arguments #6663

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

afonso360
Copy link
Contributor

This is a leftover from #3302 where we used to inject a special vmctx struct if the test requested it. We've removed that capability in #5386 but accidentally left this in, which caused some weird handling of these test invocations.

Fixes #6659

This is a leftover from bytecodealliance#3302 where we used to inject a special `vmctx`
struct if the test requested it. We've removed that capability in bytecodealliance#5386
but accidentally left this in, which caused some weird handling of these
test invocations.
@afonso360 afonso360 requested a review from a team as a code owner June 28, 2023 16:55
@afonso360 afonso360 requested review from cfallin and fitzgen and removed request for a team and cfallin June 28, 2023 16:55
@afonso360
Copy link
Contributor Author

afonso360 commented Jun 28, 2023

I'm going to open a separate issue about supporting stack_limit in the interpreter.

Edit: Actually I'm going to work on this, I'll send a PR when it's ready

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Whoops, this was my fault that it wasn't fully removed when we removed heaps from clif.

Thanks!!

@fitzgen fitzgen enabled auto-merge June 28, 2023 17:03
@fitzgen fitzgen added this pull request to the merge queue Jun 28, 2023
Merged via the queue into bytecodealliance:main with commit 0851e90 Jun 28, 2023
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.

cranelift-filetest: Allow run directives with functions that have a vmctx
2 participants