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

Stop emitting a SET and POP opcode right before a RETURN opcode #32

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

john-z-yang
Copy link
Owner

Overview

Have the RETURN opcode set the result that is TOS and pop the stack values instead of always emitting 2 other opcodes (SET and POP) before a RETURN.

@john-z-yang john-z-yang merged commit 9aa248e into master Dec 10, 2023
8 checks passed
@john-z-yang john-z-yang deleted the ret-opcode branch December 10, 2023 03:51
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