Skip to content

Restore block restart#64

Merged
smarr merged 4 commits intoSOM-st:masterfrom
smarr:restore-block-restart
Jun 18, 2025
Merged

Restore block restart#64
smarr merged 4 commits intoSOM-st:masterfrom
smarr:restore-block-restart

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 smarr added the bug label May 9, 2025
@smarr
Copy link
Member Author

smarr commented May 9, 2025

smarr added 3 commits June 17, 2025 17:51
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 <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr force-pushed the restore-block-restart branch from dccfabc to 2049d98 Compare June 17, 2025 16:53
Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr merged commit a934e9a into SOM-st:master Jun 18, 2025
19 checks passed
@smarr smarr deleted the restore-block-restart branch June 18, 2025 18:42
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