Skip to content

Commit

Permalink
Merge pull request #4836 from tuckermiles70/master
Browse files Browse the repository at this point in the history
Remove NULL check for Self() in TreeTop::join
  • Loading branch information
fjeremic authored Feb 19, 2020
2 parents ab02944 + 82289e7 commit 0724543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/il/OMRTreeTop_inlines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ OMR::TreeTop::unlink(bool decRefCountRecursively)
inline void
OMR::TreeTop::join(TR::TreeTop * p)
{
if (self())
self()->setNextTreeTop(p);
self()->setNextTreeTop(p);

if (p)
p->setPrevTreeTop(self());
}
Expand Down

0 comments on commit 0724543

Please sign in to comment.