-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use stack to save/restore module on import.
Using the stack to save/restore the module pointer when doing things like import would fail when an early exit would happen. As the jam stack does not unwind, but instead is unwound/cleaned-up at exit later. And the value to restore and check would not be the saved module. Instead we save the module locally and restore that directly.
- Loading branch information
1 parent
0c11a20
commit 3ec3b11
Showing
2 changed files
with
3 additions
and
4 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