< prev index next >

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

Print this page
*** 85,11 ***
     assert(this->id() != NULL && id != NULL, "NULL frame id");
     // Stack grows towards smaller addresses on ppc64.
     return this->id() > id;
  }
  
! inline int frame::frame_size(RegisterMap* map) const {
    // Stack grows towards smaller addresses on PPC64: sender is at a higher address.
    return sender_sp() - sp();
  }
  
  // Return the frame's stack pointer before it has been extended by a
--- 85,11 ---
     assert(this->id() != NULL && id != NULL, "NULL frame id");
     // Stack grows towards smaller addresses on ppc64.
     return this->id() > id;
  }
  
! inline int frame::frame_size() const {
    // Stack grows towards smaller addresses on PPC64: sender is at a higher address.
    return sender_sp() - sp();
  }
  
  // Return the frame's stack pointer before it has been extended by a

*** 137,15 ***
  
  inline intptr_t* frame::interpreter_frame_mdp_addr() const {
    return (intptr_t*) &(get_ijava_state()->mdx);
  }
  
- // Pointer beyond the "oldest/deepest" BasicObjectLock on stack.
- inline BasicObjectLock* frame::interpreter_frame_monitor_end() const {
-   return (BasicObjectLock*) get_ijava_state()->monitors;
- }
- 
  inline BasicObjectLock* frame::interpreter_frame_monitor_begin() const {
    return (BasicObjectLock*) get_ijava_state();
  }
  
  // Return register stack slot addr at which currently interpreted method is found.
--- 137,10 ---

*** 174,23 ***
  inline void frame::interpreter_frame_set_cpcache(ConstantPoolCache* cp)       { *interpreter_frame_cache_addr() = cp; }
  inline void frame::interpreter_frame_set_esp(intptr_t* esp)                   { get_ijava_state()->esp = (intptr_t) esp; }
  inline void frame::interpreter_frame_set_top_frame_sp(intptr_t* top_frame_sp) { get_ijava_state()->top_frame_sp = (intptr_t) top_frame_sp; }
  inline void frame::interpreter_frame_set_sender_sp(intptr_t* sender_sp)       { get_ijava_state()->sender_sp = (intptr_t) sender_sp; }
  
  inline intptr_t* frame::interpreter_frame_expression_stack() const {
    return (intptr_t*)interpreter_frame_monitor_end() - 1;
  }
  
  // top of expression stack
  inline intptr_t* frame::interpreter_frame_tos_address() const {
    return ((intptr_t*) get_ijava_state()->esp) + Interpreter::stackElementWords;
  }
  
- inline intptr_t* frame::interpreter_frame_tos_at(jint offset) const {
-   return &interpreter_frame_tos_address()[offset];
- }
- 
  inline int frame::interpreter_frame_monitor_size() {
    // Number of stack slots for a monitor.
    return align_up(BasicObjectLock::size(),  // number of stack slots
                    WordsPerLong);            // number of stack slots for a Java long
  }
--- 169,21 ---
  inline void frame::interpreter_frame_set_cpcache(ConstantPoolCache* cp)       { *interpreter_frame_cache_addr() = cp; }
  inline void frame::interpreter_frame_set_esp(intptr_t* esp)                   { get_ijava_state()->esp = (intptr_t) esp; }
  inline void frame::interpreter_frame_set_top_frame_sp(intptr_t* top_frame_sp) { get_ijava_state()->top_frame_sp = (intptr_t) top_frame_sp; }
  inline void frame::interpreter_frame_set_sender_sp(intptr_t* sender_sp)       { get_ijava_state()->sender_sp = (intptr_t) sender_sp; }
  
+ template <bool relative>
  inline intptr_t* frame::interpreter_frame_expression_stack() const {
    return (intptr_t*)interpreter_frame_monitor_end() - 1;
  }
  
  // top of expression stack
+ template <bool relative>
  inline intptr_t* frame::interpreter_frame_tos_address() const {
    return ((intptr_t*) get_ijava_state()->esp) + Interpreter::stackElementWords;
  }
  
  inline int frame::interpreter_frame_monitor_size() {
    // Number of stack slots for a monitor.
    return align_up(BasicObjectLock::size(),  // number of stack slots
                    WordsPerLong);            // number of stack slots for a Java long
  }

*** 212,13 ***
  inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const {
    return (JavaCallWrapper**)&get_entry_frame_locals()->call_wrapper_address;
  }
  
  inline oop frame::saved_oop_result(RegisterMap* map) const {
!   return *((oop*)map->location(R3->as_VMReg()));
  }
  
  inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
!   *((oop*)map->location(R3->as_VMReg())) = obj;
  }
  
  #endif // CPU_PPC_FRAME_PPC_INLINE_HPP
--- 205,61 ---
  inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const {
    return (JavaCallWrapper**)&get_entry_frame_locals()->call_wrapper_address;
  }
  
  inline oop frame::saved_oop_result(RegisterMap* map) const {
!   return *((oop*)map->location(R3->as_VMReg(), (intptr_t*) NULL));
  }
  
  inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
!   *((oop*)map->location(R3->as_VMReg(), (intptr_t*) NULL)) = obj;
+ }
+ 
+ inline const ImmutableOopMap* frame::get_oop_map() const {
+   Unimplemented();
+   return NULL;
+ }
+ 
+ inline int frame::compiled_frame_stack_argsize() const {
+   Unimplemented();
+   return 0;
+ }
+ 
+ inline void frame::interpreted_frame_oop_map(InterpreterOopMap* mask) const {
+   Unimplemented();
+ }
+ 
+ inline int frame::interpreted_frame_num_oops(InterpreterOopMap* mask) const {
+   Unimplemented();
+   return 0;
+ }
+ 
+ template <bool relative>
+ inline intptr_t* frame::interpreter_frame_last_sp() const {
+   Unimplemented();
+   return NULL;
+ }
+ 
+ inline int frame::sender_sp_ret_address_offset() {
+   Unimplemented();
+   return 0;
+ }
+ 
+ template <typename RegisterMapT>
+ void frame::update_map_with_saved_link(RegisterMapT* map, intptr_t** link_addr) {
+   Unimplemented();
+ }
+ 
+ inline void frame::set_unextended_sp(intptr_t* value) {
+   Unimplemented();
+ }
+ 
+ inline int frame::offset_unextended_sp() const {
+   Unimplemented();
+   return 0;
+ }
+ 
+ inline void frame::set_offset_unextended_sp(int value) {
+   Unimplemented();
  }
  
  #endif // CPU_PPC_FRAME_PPC_INLINE_HPP
< prev index next >