< prev index next >

src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp

Print this page
*** 100,11 ***
--- 100,13 ---
      _tmp(tmp),
      _barrier_data(barrier_data),
      _entry(),
      _continuation() {
    assert_different_registers(ref, ref_addr.base());
+ #ifndef RISCV
    assert_different_registers(ref, ref_addr.index());
+ #endif
  }
  
  Address ZLoadBarrierStubC2::ref_addr() const {
    return _ref_addr;
  }
< prev index next >