-
-
Notifications
You must be signed in to change notification settings - Fork 921
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove premade field-based DynamicScope and generate instead.
Instead of having hand-written DynamicScope subtypes that use fields instead of an array, this logic generates those subclasses as needed. Currently it only overrides the base getValue and setValue methods and DynamicScope now implements the other previously-abstract methods by calling those two. This is not optimal for generic access via those indexed methods, but the expectation is that JIT can just go after the fields directly. The additional overrides would likely be useful for the interpreter, though. See #4167.
- Loading branch information
Showing
8 changed files
with
223 additions
and
647 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
Oops, something went wrong.