Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a fallback resolver for BEGIN time run code objects.
Ye olde implementation created a wrapper frame containing the lexical symbols of all outer scopes. This is rather costly and blows up bytecode size. Instead, we now use the VMs new capability to run a custom resolver when it cannot find a lexical by itself. This first implementation only gets us compile-time-known values, but it's a start.
- Loading branch information
Showing
1 changed file
with
23 additions
and
3 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