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

Fixed disappearing returns #1680

Closed

Conversation

XdotCore
Copy link
Contributor

Description

This fixes issue #1456 caused by pr #1191. This issue occurred because the pr would remove any exit instruction that wasn't followed by an operation starting with push int (for some reason), which removed simple return;s that didn't meet that req because they compile to exit (while return value; compiles to ret).

Caveats

N/A

Notes

N/A

@XdotCore
Copy link
Contributor Author

found a better way

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