Skip to content

Conversation

kripken
Copy link
Member

@kripken kripken commented Aug 8, 2025

After discussions with @dschuff and @tlively I realized I might be able to
explain the stack switching approach better, so I wrote this PR.

@kripken kripken requested review from dschuff and tlively August 8, 2025 00:34
// unwind an If instruction then we note which arm of the If we unwound
// from, and then when we re-wind we enter that proper arm. For a Block,
// we can note the index we had executed up to, etc.
// * For values, we just save them (see below on |valueStack| however, as we
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe note that this will be done automatically and generically in visit, so the individual visitors do not need to worry about it.

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.

2 participants