Skip to content

Commit

Permalink
Bring back the odd early return
Browse files Browse the repository at this point in the history
  • Loading branch information
SingleAccretion committed Jan 21, 2022
1 parent d3263b6 commit 36f4353
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15219,6 +15219,11 @@ bool GenTree::DefinesLocal(Compiler* comp, GenTreeLclVarCommon** pLclVarTree, bo
{
assert(blockWidth->AsIntConCommon()->FitsInI32());
width = static_cast<unsigned>(blockWidth->AsIntConCommon()->IconValue());

if (width == 0)
{
return false;
}
}
}

Expand Down

0 comments on commit 36f4353

Please sign in to comment.