Skip to content

Commit f03934e

Browse files
committedOct 4, 2022
8294578: [PPC64] C2: Missing is_oop information when using disjoint compressed oops mode
Reviewed-by: shade, lucy
1 parent 3b476a1 commit f03934e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/hotspot/cpu/ppc/ppc.ad

+3
Original file line numberDiff line numberDiff line change
@@ -6842,6 +6842,9 @@ instruct decodeN_Disjoint_notNull_Ex(iRegPdst dst, iRegNsrc src) %{
68426842
n2->_opnds[2] = op_dst;
68436843
n2->_bottom_type = _bottom_type;
68446844

6845+
assert(ra_->is_oop(this) == true, "A decodeN node must produce an oop!");
6846+
ra_->set_oop(n2, true);
6847+
68456848
ra_->set_pair(n1->_idx, ra_->get_reg_second(this), ra_->get_reg_first(this));
68466849
ra_->set_pair(n2->_idx, ra_->get_reg_second(this), ra_->get_reg_first(this));
68476850

0 commit comments

Comments
 (0)
Please sign in to comment.