Skip to content

Commit

Permalink
JIT: add missing SetMorphed call (#111176)
Browse files Browse the repository at this point in the history
to the comma created by `gtWrapWithSideEffects`.

Fixes #110960
  • Loading branch information
AndyAyersMS authored Jan 8, 2025
1 parent 31b5ae2 commit 5c6d1b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17306,6 +17306,7 @@ GenTree* Compiler::gtWrapWithSideEffects(GenTree* tree,
comma->gtVNPair =
vnStore->VNPWithExc(tree->gtVNPair, vnStore->VNPExceptionSet(sideEffectsSource->gtVNPair));
}
comma->SetMorphed(this);
return comma;
}
return tree;
Expand Down

0 comments on commit 5c6d1b3

Please sign in to comment.