forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix BOX import to not create "wrong" casts (dotnet#57094)
All casts in the IR have TYP_INT, except for this one case. Fix it by using genActualType. Also add a comment explaining the reason a cast is needed at all in case the types are small.
- Loading branch information
1 parent
f97c18b
commit e74bc2a
Showing
1 changed file
with
14 additions
and
6 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