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

Add instructions for duplicating the top item / swapping top two items on the stack #161

Closed
jfioasd opened this issue Mar 31, 2023 · 1 comment

Comments

@jfioasd
Copy link

jfioasd commented Mar 31, 2023

These can be helpful for quickly performing operations on the stack without extra usage of local variables.

@jfioasd jfioasd changed the title Commands to Duplicate the stack / Swap two items on the stack Commands: Duplicating the stack / Swapping top two items on the stack Mar 31, 2023
@jfioasd jfioasd changed the title Commands: Duplicating the stack / Swapping top two items on the stack Commands: Duplicating the top item / Swapping top two items on the stack Mar 31, 2023
@jfioasd jfioasd changed the title Commands: Duplicating the top item / Swapping top two items on the stack Add instructions for duplicating the top item / swapping top two items on the stack Mar 31, 2023
@titzer
Copy link

titzer commented Mar 31, 2023

There is some discussion in WebAssembly/design#1381.

@jfioasd jfioasd closed this as completed Mar 31, 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

No branches or pull requests

2 participants