Clear GTF_CALL from non-calls in rationalize
node->gtFlags &= ~GTF_ALL_EFFECT;
}
}
- else if (!node->OperIsStore())
+ else
{
- // Clear the GTF_ASG flag for all nodes but stores
- node->gtFlags &= ~GTF_ASG;
+ if (!node->OperIsStore())
+ {
+ // Clear the GTF_ASG flag for all nodes but stores
+ node->gtFlags &= ~GTF_ASG;
+ }
+
+ if (!node->IsCall())
+ {
+ // Clear the GTF_CALL flag for all nodes but calls
+ node->gtFlags &= ~GTF_CALL;
+ }
}
assert(isLateArg == ((use.Def()->gtFlags & GTF_LATE_ARG) != 0));