We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd7826ee commit723da1eCopy full SHA for 723da1e
src/coreclr/jit/importer.cpp
@@ -10766,7 +10766,7 @@ var_types Compiler::impGetByRefResultType(genTreeOps oper, bool fUnsigned, GenTr
10766
// impOptimizeCastClassOrIsInst: attempt to resolve a cast when jitting
10767
//
10768
// Arguments:
10769
-//op1 - value to cast
+//tree - value to cast
10770
// pResolvedToken - resolved token for type to cast to
10771
// isCastClass - true if this is a castclass, false if isinst
10772
@@ -10812,7 +10812,7 @@ GenTree* Compiler::impOptimizeCastClassOrIsInst(GenTree* tree, CORINFO_RESOLVED_
10812
10813
if (castResult == TypeCompareState::Must)
10814
{
10815
- // Cast will succeed, result is simplyop1.
+ // Cast will succeed, result is simplythe tree.
10816
JITDUMP("Cast will succeed, optimizing to simply return input\n");
10817
return tree;
10818
}