Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo committed Dec 11, 2020
1 parent d7826ee commit 723da1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10766,7 +10766,7 @@ var_types Compiler::impGetByRefResultType(genTreeOps oper, bool fUnsigned, GenTr
// impOptimizeCastClassOrIsInst: attempt to resolve a cast when jitting
//
// Arguments:
// op1 - value to cast
// tree - value to cast
// pResolvedToken - resolved token for type to cast to
// isCastClass - true if this is a castclass, false if isinst
//
Expand Down Expand Up @@ -10812,7 +10812,7 @@ GenTree* Compiler::impOptimizeCastClassOrIsInst(GenTree* tree, CORINFO_RESOLVED_

if (castResult == TypeCompareState::Must)
{
// Cast will succeed, result is simply op1.
// Cast will succeed, result is simply the tree.
JITDUMP("Cast will succeed, optimizing to simply return input\n");
return tree;
}
Expand Down

0 comments on commit 723da1e

Please sign in to comment.