Skip to content

Commit c153a51

Browse files
committed
formatting
1 parent 74d24b0 commit c153a51

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/coreclr/jit/importer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

src/coreclr/jit/lowerxarch.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)