-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mono][interp] Small code refactoring for SSA (#97249)
* [mono][interp] Move optimization related code out of transform.c Use interp_ prefix for non-static methods within interpreter (mono_interp seems rather long) Use interp_ prefix, instead of .._interp_..., for consistency. Use ins everywhere in method names for consistency, instead of inst. * [mono][interp] Pass ref to var storage in interp inst In order to facilitate overwritting of sregs/dreg during instruction iterations. Also enable iterating only on sregs. * [mono][interp] Print invalid il offset in aligned fashion * [mono][interp] Remove irrelevant stats * [mono][interp] Renaming of local to var Local can have multiple meanings. Use it to refer to IL locals from now. All IL locals are vars. Vars can be local (single bblock use) or global. * [mono][interp] Remove flags and use bit fields instead Makes the code clearer and it is easier to maintain.
- Loading branch information
Showing
8 changed files
with
3,105 additions
and
3,049 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
Oops, something went wrong.