< prev index next >

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

Print this page
*** 31,10 ***
--- 31,14 ---
  static inline intptr_t** link_address(const frame& f) {
    Unimplemented();
    return nullptr;
  }
  
+ static inline void patch_return_pc_with_preempt_stub(frame& f) {
+   Unimplemented();
+ }
+ 
  inline int ContinuationHelper::frame_align_words(int size) {
    return size & 1;
  }
  
  inline intptr_t* ContinuationHelper::frame_align_pointer(intptr_t* p) {

*** 57,15 ***
  
  inline void ContinuationHelper::set_anchor_to_entry_pd(JavaFrameAnchor* anchor, ContinuationEntry* cont) {
    // nothing to do
  }
  
- #ifdef ASSERT
  inline void ContinuationHelper::set_anchor_pd(JavaFrameAnchor* anchor, intptr_t* sp) {
    // nothing to do
  }
  
  inline bool ContinuationHelper::Frame::assert_frame_laid_out(frame f) {
    intptr_t* sp = f.sp();
    address pc = *(address*)(sp - frame::sender_sp_ret_address_offset());
    intptr_t* fp = (intptr_t*)f.own_abi()->callers_sp;
    assert(f.raw_pc() == pc, "f.ra_pc: " INTPTR_FORMAT " actual: " INTPTR_FORMAT, p2i(f.raw_pc()), p2i(pc));
--- 61,15 ---
  
  inline void ContinuationHelper::set_anchor_to_entry_pd(JavaFrameAnchor* anchor, ContinuationEntry* cont) {
    // nothing to do
  }
  
  inline void ContinuationHelper::set_anchor_pd(JavaFrameAnchor* anchor, intptr_t* sp) {
    // nothing to do
  }
  
+ #ifdef ASSERT
  inline bool ContinuationHelper::Frame::assert_frame_laid_out(frame f) {
    intptr_t* sp = f.sp();
    address pc = *(address*)(sp - frame::sender_sp_ret_address_offset());
    intptr_t* fp = (intptr_t*)f.own_abi()->callers_sp;
    assert(f.raw_pc() == pc, "f.ra_pc: " INTPTR_FORMAT " actual: " INTPTR_FORMAT, p2i(f.raw_pc()), p2i(pc));
< prev index next >