Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add better version of kind_of optimization
This makes sure to only do a quick check against VM types since if then the types don't match, we know the whole chain doesn't match. With the older implementation there was a problem with subclasses of VM types, because they share the type info but can't use a quick check. That is why we now compare against the class_id and not use the TypeInfo directly.
- Loading branch information
Showing
3 changed files
with
166 additions
and
16 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