Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve non-overridden guard optimization in globalVP
- handle direct calls, use call site index and bytecode index to find the right call - sometimes, at the time the guard is seen not all constraints are available for the call. Keep a side table that maps call node to the corresponding guard and try to eliminate the guard at the time the call is encountered - support multiple guards pointing to the same block - Check isTheVirtualCallNodeForAGuardedInlinedCall inside getVirtualCallTreeForGuard
- Loading branch information
Showing
5 changed files
with
143 additions
and
53 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
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