Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
fix the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Andreenko committed Sep 20, 2017
1 parent 58ec3e4 commit d7f08bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,9 @@ GenTreePtr Compiler::fgMorphCast(GenTreePtr tree)
/* Reset the call flag */
tree->gtFlags &= ~GTF_CALL;

/* Reset the assignment flag */
tree->gtFlags &= GTF_ASG;

/* unless we have an overflow cast, reset the except flag */
if (!tree->gtOverflow())
{
Expand Down

0 comments on commit d7f08bf

Please sign in to comment.