Skip to content

Commit

Permalink
fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey committed Jun 25, 2021
1 parent 817d5ad commit 94305c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/morphblock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,15 @@ void MorphInitBlockHelper::PrepareDst()
if (m_dst->OperGet() == GT_IND)
{
assert(m_dst->TypeGet() != TYP_STRUCT);
m_blockSize = genTypeSize(m_dst->TypeGet());
m_blockSize = genTypeSize(m_dst);
m_blockSizeIsConst = true;
}
else
{
assert(m_dst->OperIsBlk());
GenTreeBlk* blk = m_dst->AsBlk();
m_blockSize = blk->Size();
m_blockSizeIsConst = (blk->gtOper != GT_DYN_BLK);
m_blockSizeIsConst = !blk->OperIs(GT_DYN_BLK);
}

noway_assert(dstAddr->TypeIs(TYP_BYREF, TYP_I_IMPL));
Expand Down

0 comments on commit 94305c3

Please sign in to comment.