Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit723da1e

Browse files
committed
Address feedback
1 parentd7826ee commit723da1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/coreclr/jit/importer.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10766,7 +10766,7 @@ var_types Compiler::impGetByRefResultType(genTreeOps oper, bool fUnsigned, GenTr
1076610766
// impOptimizeCastClassOrIsInst: attempt to resolve a cast when jitting
1076710767
//
1076810768
// Arguments:
10769-
//op1 - value to cast
10769+
//tree - value to cast
1077010770
// pResolvedToken - resolved token for type to cast to
1077110771
// isCastClass - true if this is a castclass, false if isinst
1077210772
//
@@ -10812,7 +10812,7 @@ GenTree* Compiler::impOptimizeCastClassOrIsInst(GenTree* tree, CORINFO_RESOLVED_
1081210812

1081310813
if (castResult == TypeCompareState::Must)
1081410814
{
10815-
// Cast will succeed, result is simplyop1.
10815+
// Cast will succeed, result is simplythe tree.
1081610816
JITDUMP("Cast will succeed, optimizing to simply return input\n");
1081710817
return tree;
1081810818
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp