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

Accept return value from nested function #14

Closed
CodyFagley opened this issue Nov 19, 2019 · 0 comments
Closed

Accept return value from nested function #14

CodyFagley opened this issue Nov 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@CodyFagley
Copy link
Member

CodyFagley commented Nov 19, 2019

Nested functions are being called correctly, the return value is not handled at all.

  • If a nested function's return register is not active in the parent function:
    • Parent function should push the return register directly into it's register stack
  • If a nested function's return register is active in the parent function:
    • Parent function should push the return register into a new register before restoring active register's value
@CodyFagley CodyFagley created this issue from a note in Functions Infrastructure (TODO) Nov 19, 2019
@CodyFagley CodyFagley added planning Groundwork for further work enhancement New feature or request and removed planning Groundwork for further work labels Nov 19, 2019
@CodyFagley CodyFagley moved this from TODO to Finished in Functions Infrastructure Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant