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

Support calling user words from other user words #75

Merged
merged 4 commits into from
Jul 6, 2024
Merged

Support calling user words from other user words #75

merged 4 commits into from
Jul 6, 2024

Conversation

jbirddog
Copy link
Owner

@jbirddog jbirddog commented Jul 6, 2024

There was a bug where the address compiled to call a user word from a user word at runtime would be the address from compile time, resulting in a segfault. For runtime calls we can use a relative offset within the code buffer in this case. Compile time calls still use the absolute address to support calling user code or compiler code while compiling.

@jbirddog jbirddog merged commit 537288b into main Jul 6, 2024
1 check passed
@jbirddog jbirddog deleted the u2u2 branch July 6, 2024 04:02
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