< prev index next >

src/hotspot/cpu/zero/frame_zero.cpp

Print this page
*** 96,11 ***
  
  BasicObjectLock* frame::interpreter_frame_monitor_begin() const {
    return get_interpreterState()->monitor_base();
  }
  
! BasicObjectLock* frame::interpreter_frame_monitor_end() const {
    return (BasicObjectLock*) get_interpreterState()->stack_base();
  }
  
  void frame::patch_pc(Thread* thread, address pc) {
    if (pc != NULL) {
--- 96,16 ---
  
  BasicObjectLock* frame::interpreter_frame_monitor_begin() const {
    return get_interpreterState()->monitor_base();
  }
  
! // Pointer beyond the "oldest/deepest" BasicObjectLock on stack.
+ template BasicObjectLock* frame::interpreter_frame_monitor_end<true>() const;
+ template BasicObjectLock* frame::interpreter_frame_monitor_end<false>() const;
+ 
+ template <bool relative>
+ inline BasicObjectLock* frame::interpreter_frame_monitor_end() const {
    return (BasicObjectLock*) get_interpreterState()->stack_base();
  }
  
  void frame::patch_pc(Thread* thread, address pc) {
    if (pc != NULL) {

*** 179,17 ***
    }
  
    return type;
  }
  
! int frame::frame_size(RegisterMap* map) const {
! #ifdef PRODUCT
-   ShouldNotCallThis();
- #endif // PRODUCT
-   return 0; // make javaVFrame::print_value work
- }
  
  intptr_t* frame::interpreter_frame_tos_at(jint offset) const {
    int index = (Interpreter::expr_offset_in_bytes(offset) / wordSize);
    return &interpreter_frame_tos_address()[index];
  }
  
--- 184,14 ---
    }
  
    return type;
  }
  
! template intptr_t* frame::interpreter_frame_tos_at<false>(jint offset) const;
! template intptr_t* frame::interpreter_frame_tos_at<true >(jint offset) const;
  
+ template <bool relative>
  intptr_t* frame::interpreter_frame_tos_at(jint offset) const {
    int index = (Interpreter::expr_offset_in_bytes(offset) / wordSize);
    return &interpreter_frame_tos_address()[index];
  }
  

*** 381,10 ***
--- 383,14 ---
  
  void frame::describe_pd(FrameValues& values, int frame_no) {
  
  }
  
+ void frame::describe_top_pd(FrameValues& values) {
+ 
+ }
+ 
  #endif
  
  intptr_t *frame::initial_deoptimization_info() {
    // unused... but returns fp() to minimize changes introduced by 7087445
    return fp();
< prev index next >