File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -8289,7 +8289,7 @@ void Compiler::impImportBlockCode(BasicBlock* block)
82898289                goto _CONV;
82908290
82918291            _CONV:
8292-                 op1 = impPopStack().val;
8292+                 op1       = impPopStack().val;
82938293                callNode = fgCastRequiresHelper(op1->TypeGet(), lclTyp, ovfl);
82948294
82958295                impBashVarAddrsToI(op1);
Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ void Lowering::LowerCast(GenTree* tree)
826826
827827    GenTree*  castOp  = tree->AsCast ()->CastOp ();
828828    var_types dstType = tree->CastToType ();
829-     var_types srcType = genActualType (castOp-> TypeGet () );
829+     var_types srcType = genActualType (castOp);
830830
831831    //  force the srcType to unsigned if GT_UNSIGNED flag is set
832832    if  (tree->IsUnsigned ())
@@ -8284,7 +8284,6 @@ void Lowering::ContainCheckCast(GenTreeCast* node)
82848284        else  if  (comp->opts .OptimizationEnabled () && varTypeIsIntegral (castOp) && varTypeIsIntegral (castToType))
82858285        {
82868286            //  Most integral casts can be re-expressed as loads, except those that would be changing the sign.
8287-             //  https://github.com/dotnet/runtime/issues/116593
82888287            if  (!varTypeIsSmall (castOp) || (varTypeIsUnsigned (castOp) == node->IsZeroExtending ()))
82898288            {
82908289                srcIsContainable = true ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments