-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set f->unspecialized->env = NULL (fix #6597)
an unspecialized function should not share it's env variable with other closures. this sets env to NULL in those cases to prevent invalid access, and creates a new function with the proper env when attempting to call the unspecialized code.
- Loading branch information
Showing
1 changed file
with
35 additions
and
8 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