Skip to content

Conversation

@keithw
Copy link
Member

@keithw keithw commented Mar 2, 2025

Moving WebAssembly/tail-call#25 here.

This PR adds tests of return_call and return_call indirect where:

  • the function being called is an imported function
  • the function being called takes multiple params
  • the function being called has multiple results

These catch a bug in the WABT interpreter and two bugs in wasm2c (one of which was reported at WebAssembly/wabt#2491).

@keithw keithw changed the title return_call +indirect with multi-param / multi-result / imported funcs [test] return_call +indirect with multi-param / multi-result / imported funcs Mar 2, 2025
Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

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

Thanks!

@rossberg rossberg merged commit 4ef3759 into WebAssembly:wasm-3.0 Mar 3, 2025
1 check passed
@keithw keithw deleted the tail-call-multi-value branch March 3, 2025 18:08
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