forked from smarr/SOMpp
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for trivial methods (#46)
Trivial methods are special cases of well-known patterns where we avoid the need for a frame. Currently supported are: - methods that return a literal - methods that return a global - methods that read a field (getter) - methods that write a field (setter) https://rebench.dev/SOMpp/compare/f2e87f82f240732ba0f8dd2bdea489c33edcb713..4d147afeb4e27fb698ff1b89ac6a106b3c0381f7 median -1% (min. -46%, max. 14%) The implementation uses a `VMTrivial` method and subclasses. Tests now have a common superclass `TestWithParsing` when they use the parser.
- Loading branch information
Showing
37 changed files
with
1,508 additions
and
405 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.