Skip to content

Commit a015e48

Browse files
authored
JIT: fix missing morphed flag (#112888)
Fixes #112867.
1 parent 1d4ccdd commit a015e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/gentree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14450,7 +14450,7 @@ GenTree* Compiler::gtFoldExprSpecial(GenTree* tree)
1445014450
compareResult = 1;
1445114451
}
1445214452

14453-
GenTree* newTree = gtNewIconNode(compareResult);
14453+
GenTree* newTree = NewMorphedIntConNode(compareResult);
1445414454
if (wrapEffects)
1445514455
{
1445614456
newTree = gtWrapWithSideEffects(newTree, op, GTF_ALL_EFFECT);

0 commit comments

Comments
 (0)