Skip to content

Commit

Permalink
Change test to check for store block operators (#60878)
Browse files Browse the repository at this point in the history
  • Loading branch information
yowl committed Jan 20, 2022
1 parent 9bc4439 commit 18b0540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/gentree.h
Original file line number Diff line number Diff line change
Expand Up @@ -7490,7 +7490,7 @@ struct GenTreeCC final : public GenTree

inline bool GenTree::OperIsBlkOp()
{
return ((gtOper == GT_ASG) && varTypeIsStruct(AsOp()->gtOp1)) || (OperIsBlk() && (AsBlk()->Data() != nullptr));
return ((gtOper == GT_ASG) && varTypeIsStruct(AsOp()->gtOp1)) || OperIsStoreBlk();
}

inline bool GenTree::OperIsDynBlkOp()
Expand Down

0 comments on commit 18b0540

Please sign in to comment.