This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: refactor logic for removing box upstream side effects (#13169)
Introduce a new method `gtTryRemoveBoxUpstreamEffects` to capture the logic for cleaning up after a dead value type box into a utility. Call this from `gtFoldExprSpecial` and now also from the inliner when it finds a dead box argument. Also remove the useless `fgExpandInline` field and associated `fgIsInlining` method, as the jit never set the field to true. No diffs from the refactoring. The inliner case kicks in in 3 places in the test tree. Closes #13136.
- Loading branch information
1 parent
fbe621f
commit f62e340
Showing
4 changed files
with
213 additions
and
176 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
Oops, something went wrong.