< prev index next >

src/hotspot/cpu/ppc/continuationHelper_ppc.inline.hpp

Print this page
@@ -104,10 +104,12 @@
    intptr_t* la = f.addr_at(ijava_idx(sender_sp));
    *la = f.is_heap_frame() ? (intptr_t)(sp - f.fp()) : (intptr_t)sp;
  }
  
  inline address* ContinuationHelper::Frame::return_pc_address(const frame& f) {
+   assert(f.cb() == nullptr || !f.cb()->is_nmethod() || !f.cb()->as_nmethod()->needs_stack_repair(),
+          "unsupported");
    return (address*)&f.callers_abi()->lr;
  }
  
  inline address ContinuationHelper::Frame::real_pc(const frame& f) {
    return (address)f.own_abi()->lr;
< prev index next >