Skip to content


8294578: [PPC64] C2: Missing is_oop information when using disjoint c…
Browse files Browse the repository at this point in the history
…ompressed oops mode

Backport-of: f03934e270aa86de3c6832f9754caba05726726b
  • Loading branch information
TheRealMDoerr committed Oct 5, 2022
1 parent 905baaf commit f8e71f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hotspot/cpu/ppc/
Original file line number Diff line number Diff line change
Expand Up @@ -7191,6 +7191,9 @@ instruct decodeN_Disjoint_notNull_Ex(iRegPdst dst, iRegNsrc src) %{
n2->_opnds[2] = op_dst;
n2->_bottom_type = _bottom_type;

assert(ra_->is_oop(this) == true, "A decodeN node must produce an oop!");
ra_->set_oop(n2, true);

ra_->set_pair(n1->_idx, ra_->get_reg_second(this), ra_->get_reg_first(this));
ra_->set_pair(n2->_idx, ra_->get_reg_second(this), ra_->get_reg_first(this));

Expand Down

1 comment on commit f8e71f8

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.