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

Multi-value transition #205

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

Rob23oba
Copy link
Contributor

This pull request transitions to a new system for generate where the wasm always returns both an f64 and an i32. This replaces the existing system where an f64 was sometimes returned from the wasm of generate and getNodeType was used to get the type. In the future, this aims to make getNodeType, dropLeftover redundant and put values and types closer together. However, the old system is not completely replaced because that would make this pull request much larger. Instead, generateLegacy exists that can generate code with the old behavior. Because of this, the first commit mostly consists of replacements from generate to generateLegacy in old code. Therefore, I recommend primarily looking at the remaining commits.

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.

1 participant