-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework stack-frame handling in the VM
Instead of having the stack frames as `ref` objects that are chained together via their `next` field, store them in a `seq` in `TCtx`. This makes it easier to reason about them, and also connects the frames to their owning context. While the frame list should ideally be first-in last-out (stack), this isn't currently possible due to how exception handling is implemented.
- Loading branch information
Showing
4 changed files
with
137 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.