Skip to content

Restore block restart #64

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

smarr
Copy link
Member

@smarr smarr commented May 9, 2025

This PR restores the restart primitive on blocks so that #whileTrue: and #whileFalse: work correctly for blocks that were not inlined.

Issue reported by @sillycross. Thanks.

Needs SOM-st/SOM#125 to be merged to update core-lib to a merged version.

smarr added 3 commits May 9, 2025 23:29
This needs to update the global bytecode index. I chose to do this in the reset primitive explicitly, and do not generalize this by updating the bytecode index on every primitive, to avoid overhead.

Signed-off-by: Stefan Marr <[email protected]>
Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr added the bug label May 9, 2025
@smarr
Copy link
Member Author

smarr commented May 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant