Skip to content

Commit

Permalink
JIT: fix missing morphed flag (#112888)
Browse files Browse the repository at this point in the history
Fixes #112867.
  • Loading branch information
AndyAyersMS authored Feb 25, 2025
1 parent 1d4ccdd commit a015e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14450,7 +14450,7 @@ GenTree* Compiler::gtFoldExprSpecial(GenTree* tree)
compareResult = 1;
}

GenTree* newTree = gtNewIconNode(compareResult);
GenTree* newTree = NewMorphedIntConNode(compareResult);
if (wrapEffects)
{
newTree = gtWrapWithSideEffects(newTree, op, GTF_ALL_EFFECT);
Expand Down

0 comments on commit a015e48

Please sign in to comment.