-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove use of Return::MultiLevel, and implement stack frame jumping m…
…anually Return::MultiLevel obscures the fact that returning across multiple stack frames is very evil. Rather than hide the evil we are doing, just embed the stack breaking via a label and last. This avoids a Return::MultiLevel dependency, which avoids pulling in Scope::Upper, another module with too much magic in it. It also is slightly faster, although that is a very minor benefit.
- Loading branch information
Showing
3 changed files
with
22 additions
and
15 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
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